From 3728ddd681c428abf2a686b8b31f6cc95c5972cc Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sun, 10 Jun 2018 12:29:37 +0200 Subject: Quick action to add a document from a sheet (refs #4107) --- ishtar_common/templates/ishtar/blocks/window_nav.html | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'ishtar_common/templates') diff --git a/ishtar_common/templates/ishtar/blocks/window_nav.html b/ishtar_common/templates/ishtar/blocks/window_nav.html index 89263d0de..764797ce2 100644 --- a/ishtar_common/templates/ishtar/blocks/window_nav.html +++ b/ishtar_common/templates/ishtar/blocks/window_nav.html @@ -32,19 +32,25 @@
{% endif %}
- {% block extra_actions %}{% endblock %} + {% if pin_action and item.SLUG %} + + + + {% endif %} + {% block extra_actions %}{% endblock %} {% if modify_url %} {% endif %} - {% if pin_action and item.SLUG %} - - + {% for url, base_text, icon, extra_text, css_class in extra_actions %} + + {{extra_text}} - {% endif %} + {% endfor %} ODT -- cgit v1.2.3