{% extends "base.html" %} {% load i18n %} {% load translations %} {% load crispy_forms_tags %} {% load permissions %} {% block breadcrumbs %}
  • {{ project }}
  • {% trans "glossaries" %}
  • {{ language }}
  • {% endblock %} {% block content %} {% perm 'glossary.delete' project as user_can_delete_dictionary %} {% perm 'glossary.edit' project as user_can_change_dictionary %} {% perm 'glossary.upload' project as user_can_upload_dictionary %} {% perm 'glossary.add' project as user_can_add_dictionary %}
    {% include "paginator.html" %}
    {% crispy letterform %}
    {% if page_obj.object_list %} {% for word in page_obj.object_list %} {% endfor %}
    {% trans "Source" %} {% trans "Translation" %}
    {% format_translation word.source project.source_language simple=True %} {% format_translation word.target language simple=True %} {% if user_can_change_dictionary %}
    {% endif %} {% if user_can_delete_dictionary %}
    {% csrf_token %}
    {% endif %}
    {% else %}

    {% trans "No words found!" %}

    {% endif %}
    {% if user_can_add_dictionary %}
    {% csrf_token %} {{ form|crispy }}
    {% endif %} {% if user_can_upload_dictionary %}
    {% csrf_token %} {{ uploadform|crispy }}
    {% endif %}
    {% include "last-changes-content.html" %} {% trans "Browse all glossary changes" %}
    {% endblock %}