diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-11-05 12:12:30 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-02-19 14:43:49 +0100 |
| commit | bd38a04747e7d4ed4e28dd75ba1b43583d883e65 (patch) | |
| tree | ae43776eaa406850e8123e55318737d4a0d58113 /ishtar_common/templates/ishtar/blocks/window_nav.html | |
| parent | ba26387f09de20d9537d075dcea5221fb3532a5a (diff) | |
| download | Ishtar-bd38a04747e7d4ed4e28dd75ba1b43583d883e65.tar.bz2 Ishtar-bd38a04747e7d4ed4e28dd75ba1b43583d883e65.zip | |
✨ ishtar account sheet
Diffstat (limited to 'ishtar_common/templates/ishtar/blocks/window_nav.html')
| -rw-r--r-- | ishtar_common/templates/ishtar/blocks/window_nav.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ishtar_common/templates/ishtar/blocks/window_nav.html b/ishtar_common/templates/ishtar/blocks/window_nav.html index 63aafb93a..d318fe264 100644 --- a/ishtar_common/templates/ishtar/blocks/window_nav.html +++ b/ishtar_common/templates/ishtar/blocks/window_nav.html @@ -81,7 +81,7 @@ {% endif %} </div> - {% if not item.NO_ODTPDF_EXPORT or extra_templates %} + {% if item.OLD_SHEET_EXPORT or extra_templates or item.HAS_QR_CODE or item.get_absolute_url %} <div class="btn-group btn-group-sm" role="group" aria-label="{% trans 'Export' %}"> <div class="btn btn-sm dropdown btn-secondary"> @@ -93,6 +93,7 @@ </a> <div class="dropdown-menu" aria-labelledby="dropdown-sheet-export-{{window_id}}"> + {% if item.OLD_SHEET_EXPORT %} <a class="dropdown-item" href='{% url show_url item.pk "odt" %}' title='{% trans "Export as OpenOffice.org file"%}'> <i class="fa fa-file-word-o" aria-hidden="true"></i> ODT @@ -100,7 +101,7 @@ <a class="dropdown-item" href='{% url show_url item.pk "pdf" %}' title='{% trans "Export as PDF file"%}'> <i class="fa fa-file-pdf-o" aria-hidden="true"></i> PDF - </a>{% for template_name, template_url in extra_templates %} + </a>{% endif %}{% for template_name, template_url in extra_templates %} <a class="dropdown-item" href='{{template_url}}'> <i class="fa fa-file-word-o" aria-hidden="true"></i> {{template_name}} </a>{% endfor %} |
