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 %}