xmpp.chapril.org-conversejs/html/project.html
Michal Čihař cef6a4ddd9 Fix html
2012-03-05 13:46:04 +01:00

34 lines
711 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 %}
</tbody>
</table>
{% endblock %}