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 10:22:20 +01:00
|
|
|
{% block breadcums %}
|
|
|
|
<li><a href="{{ object.project.get_absolute_url }}">{{ object.project }}</a></li>
|
2012-03-01 10:46:50 +01:00
|
|
|
<li><a href="{{ object.get_absolute_url }}">{{ object.name }}</a></li>
|
2012-03-01 10:22:20 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
2012-02-27 11:34:32 +01:00
|
|
|
{% block content %}
|
2012-02-28 13:17:56 +01:00
|
|
|
{% include "subproject_info.html" %}
|
2012-02-28 10:09:16 +01:00
|
|
|
|
2012-02-28 10:36:11 +01:00
|
|
|
<h2>{% trans "Translations" %}</h2>
|
2012-02-27 11:34:32 +01:00
|
|
|
|
|
|
|
<ul>
|
2012-02-28 10:09:16 +01:00
|
|
|
{% for trans in object.translation_set.all %}
|
2012-02-28 10:36:11 +01:00
|
|
|
<li><a href="{{ trans.get_absolute_url }}">{{ trans.language.name }}
|
|
|
|
{% if trans.fuzzy %}
|
2012-03-01 14:22:52 +01:00
|
|
|
{% blocktrans with trans.get_translated_percent as translated and trans.get_fuzzy_percent as fuzzy %}
|
2012-02-28 10:36:11 +01:00
|
|
|
({{ translated }}% translated, {{ fuzzy }}% fuzzy)
|
|
|
|
{% endblocktrans %}
|
|
|
|
{% else %}
|
2012-03-01 14:22:52 +01:00
|
|
|
{% blocktrans with trans.get_translated_percent as translated %}
|
2012-02-28 10:36:11 +01:00
|
|
|
({{ translated }}% translated)
|
|
|
|
{% endblocktrans %}
|
|
|
|
{% endif %}
|
|
|
|
</a></li>
|
2012-02-27 11:34:32 +01:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|