From 5409f34206a7e1226e6b7db6c618567489297dfd Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Sun, 17 Feb 2019 18:59:06 +0100 Subject: [PATCH] Overwrite admin templates (3) --- templates/admin/pagination.html | 13 +++++++++ templates/admin/related_widget_wrapper.html | 30 +++++++++++++++++++++ templates/admin/search_form.html | 20 ++++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 templates/admin/pagination.html create mode 100644 templates/admin/related_widget_wrapper.html create mode 100644 templates/admin/search_form.html diff --git a/templates/admin/pagination.html b/templates/admin/pagination.html new file mode 100644 index 00000000..d6e4922d --- /dev/null +++ b/templates/admin/pagination.html @@ -0,0 +1,13 @@ +{# Please keep this template in sync with django/contrib/admin one #} +{% load admin_list %} +{% load i18n %} + diff --git a/templates/admin/related_widget_wrapper.html b/templates/admin/related_widget_wrapper.html new file mode 100644 index 00000000..abd89aa7 --- /dev/null +++ b/templates/admin/related_widget_wrapper.html @@ -0,0 +1,30 @@ +{# Please keep this template in sync with django/contrib/admin one #} +{% load i18n static %} + diff --git a/templates/admin/search_form.html b/templates/admin/search_form.html new file mode 100644 index 00000000..737bf978 --- /dev/null +++ b/templates/admin/search_form.html @@ -0,0 +1,20 @@ +{# Please keep this template in sync with django/contrib/admin one #} +{% load i18n static %} +{% if cl.search_fields %} +
+{% endif %}