{% extends "base.html" %}
{% load i18n %}
{% load url from future %}

{% block breadcrumbs %}
<li><a href="{% url 'weblate.trans.views.show_languages' %}">{% trans "languages" %}</a></li>
{% endblock %}

{% block content %}

<table class="sort">
<thead>
<tr>
<th>{% trans "Language" %}</th>
<th colspan="2">{% trans "Translated" %}</th>
</tr>
<tbody>
{% for lang in languages %}
{% with lang.get_translated_percent as percent %}
<tr>
<th><a href="{{ lang.get_absolute_url }}">{{ lang }}</a></th>
<td class="progress"><div class="progress" value="{{ percent|floatformat:0 }}"></div></td>
<td class="percent">{{ percent }}%</td>
</tr>
{% endwith %}
{% endfor %}
</tbody>
</table>

{% endblock %}
