From fa19e9f25404a3363169909ff02a5cac32bd8cdc Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 3 May 2024 16:39:28 +0200 Subject: đŸ’„ sheet: restore button is more visible and has been detached from navigation buttons (refs #5917) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ishtar_common/models_common.py | 2 +- .../templates/ishtar/blocks/window_nav.html | 22 +++++++++++++--------- 2 files changed, 14 insertions(+), 10 deletions(-) (limited to 'ishtar_common') diff --git a/ishtar_common/models_common.py b/ishtar_common/models_common.py index ddf5d46d5..b2cf02ef9 100644 --- a/ishtar_common/models_common.py +++ b/ishtar_common/models_common.py @@ -3340,7 +3340,7 @@ class MainItem(ShortMenuItem, SerializeItem, SheetItem): _("Regenerate ID"), "fa fa-key", _("regen."), - "btn-info", + "btn-warning", True, 200, ) diff --git a/ishtar_common/templates/ishtar/blocks/window_nav.html b/ishtar_common/templates/ishtar/blocks/window_nav.html index 47e99f963..e3ed13f97 100644 --- a/ishtar_common/templates/ishtar/blocks/window_nav.html +++ b/ishtar_common/templates/ishtar/blocks/window_nav.html @@ -10,7 +10,7 @@ {% if not item.is_external %}
-
+
{% if current_user.is_superuser and previous %} - + {% endif %} {% if current_user.is_superuser and next %} - +
+
+ {% endif %}
-- cgit v1.2.3