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

34 lines
711 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 14:11:43 +01:00
{% block breadcums %}
<li><a href="{{ object.get_absolute_url }}">{{ object }}</a></li>
{% endblock %}
2012-03-01 14:12:45 +01:00
{% block content %}
2012-02-28 13:17:56 +01:00
{% include "project_info.html" %}
2012-02-27 12:03:57 +01:00
<h2>{% trans "Subprojects" %}</h2>
2012-02-27 11:34:32 +01:00
2012-03-05 13:45:16 +01:00
<table>
<thead>
<tr>
2012-03-05 13:45:38 +01:00
<th>{% trans "Subproject" %}</th>
2012-03-05 13:45:16 +01:00
<th colspan="2">{% trans "Translated" %}</th>
</tr>
<tbody>
2012-02-27 12:03:57 +01:00
{% for prj in object.subproject_set.all %}
2012-03-05 13:45:16 +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-27 11:34:32 +01:00
{% endfor %}
2012-03-05 13:45:16 +01:00
</tbody>
</table>
2012-02-27 11:34:32 +01:00
{% endblock %}