{# The export menu's links, one per format (views.EXPORT_FORMATS), for the review page's header and the drafts list's row menu, then the text formats once more with the original text appended. The audit bundle is the whole job, so it carries no draft version and holds the source anyway. Import with: {% import "_menus.html" as menus with context %}. #} {% macro export_links(job_id, version=None) -%} {% for f in export_formats %} {{ f.label or t('review.export.json') }}{{ f.ext }} {% endfor %}
{% for f in export_formats if f.fmt != 'json' %} {{ t('review.export.original', format=f.label) }}{{ f.ext }} {% endfor %} {%- endmacro %}