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

29 lines
550 B
HTML
Raw Normal View History

2012-02-29 11:16:05 +01:00
{% extends "base.html" %}
{% load i18n %}
{% block content %}
<h2>{% trans "Projects" %}</h2>
2012-03-05 13:43:33 +01:00
<table>
<thead>
<tr>
<th>{% trans "Project" %}</th>
<th colspan="2">{% trans "Translated" %}</th>
</tr>
<tbody>
2012-02-29 11:16:05 +01:00
{% for prj in projects %}
2012-03-05 13:43:33 +01:00
{% 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 %}
2012-02-29 11:16:05 +01:00
{% endfor %}
2012-03-05 13:43:33 +01:00
</tbody>
</table>
2012-02-29 11:16:05 +01:00
{% endblock %}