{% load i18n %} {% load translations %} {% load icons %} {% for item in glossary %} {% if "forbidden" in item.all_flags %} {% elif "read-only" in item.all_flags %} {% else %} {% endif %} {{ item.source }} {% if "forbidden" in item.all_flags %} {% icon "cancel.svg" %} {% endif %} {% format_unit_target unit value=item.target simple=True %} {% include "snippets/glossary-badge.html" with glossary=item.translation %} {% icon "pencil.svg" %} {% if item.note %}
{{ item.note }}
{% endif %} {% if not item.is_source and item.explanation %}
{{ item.explanation|markdown }}
{% endif %} {% if item.source_unit.explanation %}
{{ item.source_unit.explanation|markdown }}
{% endif %} {% empty %} {% trans "No related strings found in the glossary." %} {% endfor %}