From 5db49a37100791a9356699cf7a25000c7085da08 Mon Sep 17 00:00:00 2001 From: Enno Lohmeier Date: Wed, 4 Jul 2018 13:00:28 +0200 Subject: [PATCH] add search field on admin start page and module start page --- src/documents/templates/admin/index.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/documents/templates/admin/index.html b/src/documents/templates/admin/index.html index 67c7dbeb1..410c9e684 100644 --- a/src/documents/templates/admin/index.html +++ b/src/documents/templates/admin/index.html @@ -4,6 +4,24 @@ {% load i18n static %} +{# This block adds a search form on the admin start page and on the module start page so that #} +{# the user can quickly search for documents #} +{% block pretitle %} +
+

{% trans 'Search documents' %}

+ +
+
+
+{% endblock %} + + {# This whole block is here just to override the `get_admin_log` line so #} {# that the log entries aren't limited to the current user #} {% block sidebar %}