From c6fdfac7ffda787d7d239a5b1512fe26c0a22976 Mon Sep 17 00:00:00 2001 From: Horilla Date: Tue, 13 Jan 2026 15:57:35 +0530 Subject: [PATCH] [UPDT] HORILLA_THEME: Changed the default button and updated filter --- .../cbv/documents/document_list.html | 26 +++++++++++- .../templates/cbv/documents/pipeline.html | 1 - .../horilla_multiselect_widget.html | 2 +- .../templates/theme/theme_cards.html | 42 +++++++++---------- 4 files changed, 46 insertions(+), 25 deletions(-) diff --git a/employee/templates/cbv/documents/document_list.html b/employee/templates/cbv/documents/document_list.html index c3116d074..640c9c2eb 100644 --- a/employee/templates/cbv/documents/document_list.html +++ b/employee/templates/cbv/documents/document_list.html @@ -102,7 +102,7 @@
- {% if document.document %} {{document.status}} + {% if document.document %} {{document.get_status_display}} {% else %} {% trans "No Document" %} {% endif %}
@@ -115,10 +115,31 @@
{% if document.document %} {% if perms.horilla_document.change_documentrequest %} - {% if document.status == "approved" %} + {% if document.status == "requested" %} + + + {% elif document.status == "approved" %} @@ -146,6 +167,7 @@ diff --git a/employee/templates/cbv/documents/pipeline.html b/employee/templates/cbv/documents/pipeline.html index 055565b05..f0ccef2e9 100644 --- a/employee/templates/cbv/documents/pipeline.html +++ b/employee/templates/cbv/documents/pipeline.html @@ -15,7 +15,6 @@ @click="open = !open" @click.outside="open = false" title="Actions" - style="color: #e54f38;" > -
- {% if default_theme and default_theme.id == theme.id %} - - {% else %} - - {% endif %} -
+ {% comment %}
+ {% if default_theme and default_theme.id == theme.id %} + + {% else %} + + {% endif %} +
{% endcomment %}
{% empty %}