{% load translations %} {% load i18n %} {% load crispy_forms_tags %} {% load permissions %} {% perm 'source.edit' project as user_can_edit_source %} {% perm 'screenshot.add' project as user_can_add_screenshot %} {% perm 'screenshot.edit' project as user_can_change_screenshot %}
{% trans "Language" %} | {% trans "Status" %} | {% trans "Checks" %} | {% trans "Edit" %} |
---|---|---|---|
{{ unit.translation.language }} | {% get_state_flags unit %} |
{% include "snippets/list-checks.html" with object=project checks=unit.checks %}
|
{% trans "Edit" %} |
|
{% trans "Screenshot context" %} |
---|
{% for screenshot in source.screenshots.all %} {% include "screenshots/screenshot_show.html" %} {% empty %} {% trans "No screenshot currently associated!" %} {% endfor %} {% if user_can_change_screenshot %} {% trans "Manage screenshots" %} {% endif %} |
{% trans "User comments" %} |
{% with next as next_url %} {% include "list-comments.html" with object=unit.translation %} {% endwith %} |