{% extends "base.html" %} {% load compress crispy_forms_tags i18n icons permissions static translations %} {% block content %} {% announcements %}
{% icon "settings.svg" %}
{% perm 'reports.view' None as user_can_view_reports %}
{% if watched_projects %} {% if usersubscriptions %} {% include "snippets/list-objects.html" with objects=usersubscriptions label=_("Translation") hide_completed=user.profile.hide_completed name_source="translation" %} {% include "paginator.html" with page_obj=usersubscriptions anchor="your-subscriptions" %} {% else %} {% include "list-projects.html" with projects=watched_projects %} {% endif %} {% else %}

{% translate "Choose what languages you want in the preferences, to see overview of available translations for those languages in your watched projects." %}

{% endif %}
{% if all_componentlists %}
{% include "snippets/list-objects.html" with objects=all_componentlists label=_("Component list") %}
{% endif %} {% if owned_projects %}
{% include "snippets/list-objects.html" with objects=owned_projects label=_("Project") %} {% if all_owned_projects|length > 10 %} {% translate "Browse all managed projects" %} {% endif %}
{% endif %} {# Suggested translations #}
{% if suggestions %} {% include "snippets/list-objects.html" with objects=suggestions label=_("Translation") name_source="translation" %} {% else %}

{% translate "Could not find any suggestions for you, please choose your languages in the preferences to get some." %}

{% endif %}
{% for componentlist in componentlists %}
{% include "snippets/list-objects.html" with objects=componentlist.translations label=_("Translation") name_source="translation" %}
{% endfor %}
{% if not user_can_view_reports %} {% translate "You don't have permission to view reports for all users, only your contributions will be listed." as msg %} {% show_message "warning" msg %} {% endif %}

{% documentation_icon 'devel/reporting' 'credits' right=True %} {% translate "Credits" %}

{% translate "Lists all translators contributing in a given time period. Useful for inclusion in documentation or the app itself, to thank translators and generate feedback to them." %}

{% crispy reports_form %}

{% documentation_icon 'devel/reporting' 'stats' right=True %} {% translate "Contributor stats" %}

{% translate "Reports the number of strings and words translated by each translator." %}

{% crispy reports_form %}
{% endblock content %}