From 6612e78e9c72cc1e3cf95f74a417767c91fadd4d Mon Sep 17 00:00:00 2001 From: Anthony Belhadj Date: Wed, 18 Oct 2023 20:55:18 +0200 Subject: [PATCH] Fix approval.html for ARCHIVED state --- templates/service_catalog/request_details/approval.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/service_catalog/request_details/approval.html b/templates/service_catalog/request_details/approval.html index b81eb6e55..bd54da0a5 100644 --- a/templates/service_catalog/request_details/approval.html +++ b/templates/service_catalog/request_details/approval.html @@ -145,7 +145,7 @@

Admin review

comment. {% endif %} - {% if object.get_state_display == "ACCEPTED" or object.get_state_display == "COMPLETE" or object.get_state_display == "FAILED" or object.get_state_display == "PROCESSING" or object.get_state_display == "REJECTED" %} + {% if object.get_state_display in "ACCEPTED,ARCHIVED,COMPLETE,FAILED,PROCESSING,REJECTED" %}
Survey @@ -247,7 +247,7 @@

Admin review

Accepted {% endif %} - {% if object.get_state_display == "ACCEPTED" or object.get_state_display == "COMPLETE" or object.get_state_display == "FAILED" or object.get_state_display == "PROCESSING" %} + {% if object.get_state_display in "ACCEPTED,ARCHIVED,COMPLETE,FAILED,PROCESSING" %}
@@ -257,7 +257,7 @@

Process the request

This request is ready to be processed.
- {% elif object.get_state_display == "COMPLETE" or object.get_state_display == "FAILED" or object.get_state_display == "PROCESSING" %} + {% elif object.get_state_display in "COMPLETE,ARCHIVED,FAILED,PROCESSING" %}
Sent for processing by {{ object.processed_by }} @@ -285,7 +285,7 @@

Process the request

Processing
- {% if object.get_state_display == "PROCESSING" or object.get_state_display == "COMPLETE" %} + {% if object.get_state_display in "PROCESSING,ARCHIVED,COMPLETE" %}