xmpp.chapril.org-conversejs/html/index.html
2012-03-05 13:43:33 +01:00

29 lines
550 B
HTML

{% extends "base.html" %}
{% load i18n %}
{% block content %}
<h2>{% trans "Projects" %}</h2>
<table>
<thead>
<tr>
<th>{% trans "Project" %}</th>
<th colspan="2">{% trans "Translated" %}</th>
</tr>
<tbody>
{% for prj in projects %}
{% with prj.get_translated_percent as percent %}
<tr>
<th><a href="{{ prj.get_absolute_url }}">{{ prj.name }}</a></th>
<td class="percent">{{ percent }}%</td>
<td class="progress"><div class="progress" id="{{ percent|floatformat:0 }}"></div></td>
</tr>
{% endwith %}
{% endfor %}
</tbody>
</table>
{% endblock %}