Skip to content

Commit

Permalink
add "re-review" button when request fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Sispheor committed Oct 23, 2023
1 parent ece45fb commit e194ea6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions templates/service_catalog/request_details/approval.html
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,11 @@ <h3 class="timeline-header">Process the request</h3>
{% with args_filter="process,"|addstr:object.id %}
{% if args_filter|can_proceed_request_action and can_process_request %}
<a class="btn btn-primary"
title="Review"
href="{% url 'service_catalog:request_accept' object.id %}">
<i class="fas fa-clipboard-check"></i> Re-review
</a>
<a class="btn btn-success"
title="Process"
href="{% url 'service_catalog:request_process' object.id %}">
<i class="fas fa-play"></i> Process
Expand Down Expand Up @@ -328,6 +333,11 @@ <h3 class="timeline-header text-danger">Processing failed</h3>
{% with args_filter="process,"|addstr:object.id %}
{% if args_filter|can_proceed_request_action and can_process_request %}
<a class="btn btn-primary"
title="Review"
href="{% url 'service_catalog:request_accept' object.id %}">
<i class="fas fa-clipboard-check"></i> Re-review
</a>
<a class="btn btn-success"
title="Process"
href="{% url 'service_catalog:request_process' object.id %}">
<i class="fas fa-play"></i> Retry process
Expand Down

0 comments on commit e194ea6

Please sign in to comment.