From 18e37f9a9b1bdf5261b8305ed5c66a6845a06374 Mon Sep 17 00:00:00 2001 From: Horilla Date: Mon, 17 Feb 2025 15:12:25 +0530 Subject: [PATCH] [UPDT] HORILLA VIEWS: Conditional quick actions' --- horilla_views/templates/generic/export_fields_modal.html | 2 +- horilla_views/templates/generic/quick_actions.html | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/horilla_views/templates/generic/export_fields_modal.html b/horilla_views/templates/generic/export_fields_modal.html index 867fb8abe..6427d25a7 100644 --- a/horilla_views/templates/generic/export_fields_modal.html +++ b/horilla_views/templates/generic/export_fields_modal.html @@ -12,7 +12,7 @@

{% trans "Export" %} {{verbose_name}}

- diff --git a/horilla_views/templates/generic/quick_actions.html b/horilla_views/templates/generic/quick_actions.html index 6872bb4d8..94fc36389 100644 --- a/horilla_views/templates/generic/quick_actions.html +++ b/horilla_views/templates/generic/quick_actions.html @@ -56,6 +56,7 @@ 0 ) + {% if quick_export %}
)
- {% if bulk_path %} + {% endif %} + {% if bulk_path and bulk_update %}
{% endif %} + {% if filter_selected %}
)
+ {% endif %} {% endif %} {% for filter in stored_filters %}