{# vim: set ts=2 et sts=2 sw=2: #} {% extends "base.html" %} {% from "dashboards/includes/macros.html" import print_readout %} {% set title = _('Localization Dashboard') %} {% set scripts = ('wiki',) %} {% set styles = ('wiki',) %} {% set crumbs = [(None, title)] %} {# TODO: Move required dashboard styles/scripts out of wiki.css into their own or refactor up? #} {% block content %}

{{ title }}

{{ _('Overview') }} {% for row in overview_rows() %} {% endfor %}
{% if row.url %} {{ row.title }} {% else %} {{ row.title }} {% endif %} {{ number(row.numerator) }}
of {{ number(row.denominator) }}
{{ row.percent }}%
{{ row.description }}
{{ _('User Interface') }} {% trans url='https://localize.mozilla.org/' %} A fully translated user interface improves the experience for site visitors in your language. Help translate the interface. {% endtrans %}
{% for readout in readouts.itervalues() %} {{ print_readout(readout, 'dashboards.localization_detail') }} {% endfor %}
{% endblock %} {% block side %}
{% with locale=request.locale %} {% include 'dashboards/includes/watch_locale.html' %} {% include 'dashboards/includes/watch_approved.html' %} {% endwith %} {% if request.locale != settings.WIKI_DEFAULT_LANGUAGE %} {% with locale=settings.WIKI_DEFAULT_LANGUAGE, is_watching_approved=is_watching_approved_default %} {% include 'dashboards/includes/watch_approved.html' %} {% endwith %} {% endif %}
{% endblock %}