From 0c49a3b077532da7deca3d78affdb8f5cc00e18d Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Sun, 17 Feb 2019 19:36:51 +0100 Subject: [PATCH] Overwrite admin templates (4), thanks edpibu :) --- templates/admin/actions.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 templates/admin/actions.html diff --git a/templates/admin/actions.html b/templates/admin/actions.html new file mode 100644 index 00000000..8d74636b --- /dev/null +++ b/templates/admin/actions.html @@ -0,0 +1,16 @@ +{# Please keep this template in sync with django/contrib/admin one #} +{% load i18n bootstrap3 %} +
+ {% bootstrap_form action_form layout='inline' form_group_class='form-group-sm col-xs-4 row' %} + + {% if actions_selection_counter %} + {{ selection_note }} + {% if cl.result_count != cl.result_list|length %} + {{ selection_note_all }} + + {% blocktrans with cl.result_count as total_count %}Select all {{ total_count }} {{ module_name }}{% endblocktrans %} + + {% trans "Clear selection" %} + {% endif %} + {% endif %} +