xmpp.chapril.org-conversejs/html/subproject.html

33 lines
1.1 KiB
HTML
Raw Normal View History

2012-02-27 11:34:32 +01:00
{% extends "base.html" %}
2012-02-27 11:58:55 +01:00
{% load i18n %}
2012-03-05 12:10:15 +01:00
{% load url from future %}
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-03-02 15:29:58 +01:00
<li><a href="{{ trans.get_absolute_url }}">{% trans trans.language.name %}
2012-02-28 10:36:11 +01:00
{% if trans.fuzzy %}
2012-03-02 15:02:23 +01:00
{% blocktrans with trans.get_translated_percent as translated and trans.get_fuzzy_percent as fuzzy %}({{ translated }}% translated, {{ fuzzy }}% fuzzy){% endblocktrans %}
2012-02-28 10:36:11 +01:00
{% else %}
2012-03-02 15:02:23 +01:00
{% blocktrans with trans.get_translated_percent as translated %}({{ translated }}% translated){% endblocktrans %}
2012-02-28 10:36:11 +01:00
{% endif %}
</a></li>
2012-02-27 11:34:32 +01:00
{% endfor %}
</ul>
2012-03-05 12:10:15 +01:00
{% url 'accounts.views.contact' as contact_url %}
2012-03-05 12:11:09 +01:00
<p>{% blocktrans %}Should your language be missing, plese <a href="{{ contact_url }}?subject=New+language+request+for+{{ object }}">contact us</a>.{% endblocktrans %}</li>
2012-03-05 12:10:15 +01:00
2012-02-27 11:34:32 +01:00
{% endblock %}