{% load i18n icons translations %} {% for item in glossary %} {{ 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 %} {% translate "No related strings found in the glossary." %} {% endfor %}