{% load i18n %} {% load statistics %} {% load locks %} {% load watches %} {% load submissions %} {% if stats %} {% url notification.views.notices as notices_url %}
{% trans "Project/Component" %} | {% trans "Translations" %} | {% trans "Options" %} |
---|---|---|
{{stat.object.project.name}} {% if stat.error %} {% endif %} | {% with 140 as barwidth %}
{{stat.trans_perc}}%
{% stats_bar_full stat barwidth %}
|
{% endwith %}
{% if stat.is_aggregated %} {% url component_language_detail stat.object.project.slug stat.object.slug stat.language_code as comp_lang_url %} {% else %} {% url component_view_file stat.object.project.slug stat.object.slug stat.filename as file_view_url %} {% url component_raw_file stat.object.project.slug stat.object.slug stat.filename as file_raw_url %} {% pofile_lock stat %} {% if request.user.is_authenticated and perms.repowatch.add_watch and notices_url %}{% watch_toggle stat %}{% endif %} {% if request.user.is_authenticated and stat.object.allows_submission and perms.translations.add_pofilelock %}{% pofile_submission stat %}{% endif %} {% endif %} |