xmpp.chapril.org-conversejs/html/project.html
Michal Čihař d273e65ae3 Fix title
2012-03-05 13:45:38 +01:00

35 lines
717 B
HTML

{% extends "base.html" %}
{% load i18n %}
{% block breadcums %}
<li><a href="{{ object.get_absolute_url }}">{{ object }}</a></li>
{% endblock %}
{% block content %}
{% include "project_info.html" %}
<h2>{% trans "Subprojects" %}</h2>
<table>
<thead>
<tr>
<th>{% trans "Subproject" %}</th>
<th colspan="2">{% trans "Translated" %}</th>
</tr>
<tbody>
{% for prj in object.subproject_set.all %}
{% 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 %}
</ul>
</tbody>
</table>
{% endblock %}