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

42 lines
1.2 KiB
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-03-05 12:10:15 +01:00
{% load url from future %}
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
2012-03-05 13:48:25 +01:00
<table>
<thead>
<tr>
<th>{% trans "Language" %}</th>
<th colspan="2">{% trans "Translated" %}</th>
<th>{% trans "Fuzzy" %}</th>
</tr>
<tbody>
2012-02-28 10:09:16 +01:00
{% for trans in object.translation_set.all %}
2012-03-05 13:48:25 +01:00
{% with trans.get_translated_percent as percent and trans.get_fuzzy_percent as fuzzy %}
<tr>
<th><a href="{{ trans.get_absolute_url }}">{% trans trans.language.name %}</a></th>
<td class="percent">{{ percent }}%</td>
<td class="progress"><div class="progress" id="{{ percent|floatformat:0 }}"></div></td>
<td class="percent">{{ fuzzy }}%</td>
</tr>
{% endwith %}
2012-02-27 11:34:32 +01:00
{% endfor %}
2012-03-05 13:48:25 +01:00
</tbody>
</table>
2012-02-27 11:34:32 +01:00
2012-03-05 12:10:15 +01:00
{% url 'accounts.views.contact' as contact_url %}
2012-03-05 12:11:09 +01:00
<p>{% blocktrans %}Should your language be missing, plese <a href="{{ contact_url }}?subject=New+language+request+for+{{ object }}">contact us</a>.{% endblocktrans %}</li>
2012-03-05 12:10:15 +01:00
2012-02-27 11:34:32 +01:00
{% endblock %}