33 lines
1.1 KiB
HTML
33 lines
1.1 KiB
HTML
{% extends "base.html" %}
|
|
{% load i18n %}
|
|
{% load url from future %}
|
|
|
|
{% block breadcums %}
|
|
<li><a href="{{ object.project.get_absolute_url }}">{{ object.project }}</a></li>
|
|
<li><a href="{{ object.get_absolute_url }}">{{ object.name }}</a></li>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
{% include "subproject_info.html" %}
|
|
|
|
<h2>{% trans "Translations" %}</h2>
|
|
|
|
<ul>
|
|
{% for trans in object.translation_set.all %}
|
|
<li><a href="{{ trans.get_absolute_url }}">{% trans trans.language.name %}
|
|
{% if trans.fuzzy %}
|
|
{% blocktrans with trans.get_translated_percent as translated and trans.get_fuzzy_percent as fuzzy %}({{ translated }}% translated, {{ fuzzy }}% fuzzy){% endblocktrans %}
|
|
{% else %}
|
|
{% blocktrans with trans.get_translated_percent as translated %}({{ translated }}% translated){% endblocktrans %}
|
|
{% endif %}
|
|
</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
|
|
{% url 'accounts.views.contact' as contact_url %}
|
|
|
|
<p>{% blocktrans %}Should your language be missing, plese <a href="{{ contact_url }}?subject=New+language+request+for+{{ object }}">contact us</a>.{% endblocktrans %}</li>
|
|
|
|
{% endblock %}
|
|
|