xmpp.chapril.org-conversejs/html/subproject.html

28 lines
832 B
HTML
Raw Normal View History

2012-02-27 11:34:32 +01:00
{% extends "base.html" %}
2012-02-27 11:58:55 +01:00
{% load i18n %}
2012-02-27 11:34:32 +01:00
2012-03-01 10:22:20 +01:00
{% block breadcums %}
<li><a href="{{ object.project.get_absolute_url }}">{{ object.project }}</a></li>
2012-03-01 10:46:50 +01:00
<li><a href="{{ object.get_absolute_url }}">{{ object.name }}</a></li>
2012-03-01 10:22:20 +01:00
{% endblock %}
2012-02-27 11:34:32 +01:00
{% block content %}
2012-02-28 13:17:56 +01:00
{% include "subproject_info.html" %}
2012-02-28 10:09:16 +01:00
2012-02-28 10:36:11 +01:00
<h2>{% trans "Translations" %}</h2>
2012-02-27 11:34:32 +01:00
<ul>
2012-02-28 10:09:16 +01:00
{% for trans in object.translation_set.all %}
2012-02-28 10:36:11 +01:00
<li><a href="{{ trans.get_absolute_url }}">{{ trans.language.name }}
{% if trans.fuzzy %}
2012-03-02 15:02:23 +01:00
{% blocktrans with trans.get_translated_percent as translated and trans.get_fuzzy_percent as fuzzy %}({{ translated }}% translated, {{ fuzzy }}% fuzzy){% endblocktrans %}
2012-02-28 10:36:11 +01:00
{% else %}
2012-03-02 15:02:23 +01:00
{% blocktrans with trans.get_translated_percent as translated %}({{ translated }}% translated){% endblocktrans %}
2012-02-28 10:36:11 +01:00
{% endif %}
</a></li>
2012-02-27 11:34:32 +01:00
{% endfor %}
</ul>
{% endblock %}