diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-02-18 12:25:56 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-02-19 14:45:57 +0100 |
commit | 90b65123f6740eb6c5683f92f0c4d304c656c37b (patch) | |
tree | fe3efe470cf390fcd4b7c2bd0c7e1a1c34975405 /ishtar_common/templates | |
parent | b554c71d78ca15fdcbc38e16500f38b8455e5479 (diff) | |
download | Ishtar-90b65123f6740eb6c5683f92f0c4d304c656c37b.tar.bz2 Ishtar-90b65123f6740eb6c5683f92f0c4d304c656c37b.zip |
✨ admin: improve Next/Previous buttons, importer columns - set default importer type and col number
Diffstat (limited to 'ishtar_common/templates')
-rw-r--r-- | ishtar_common/templates/admin/change_form.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ishtar_common/templates/admin/change_form.html b/ishtar_common/templates/admin/change_form.html index f5c83faa6..9195a3245 100644 --- a/ishtar_common/templates/admin/change_form.html +++ b/ishtar_common/templates/admin/change_form.html @@ -19,6 +19,7 @@ <a href="{% add_preserved_filters history_url %}" class="historylink">{% trans "History" %}</a> </li> {% if has_absolute_url %}<li><a href="{{ absolute_url }}" class="viewsitelink">{% trans "View on site" %}</a></li>{% endif %} + {% if previous_item or next_item %} <li>{% if previous_item %} <a href="{% url opts|admin_urlname:'change' previous_item %}{{get_attr}}"> {% trans "Previous" %} @@ -36,4 +37,5 @@ </a> {% endif %} </li> + {% endif %} {% endblock %} |