From 33ffb6fb7a3775777fefbf7cb972771f7c3aa968 Mon Sep 17 00:00:00 2001 From: extremeunix Date: Sun, 9 Nov 2014 01:04:59 +0530 Subject: [PATCH] feat(ui): adds suppression state when viewing an incident --- cito/templates/view_incident.html | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/cito/templates/view_incident.html b/cito/templates/view_incident.html index b5bfb56..7cbb1a9 100644 --- a/cito/templates/view_incident.html +++ b/cito/templates/view_incident.html @@ -60,27 +60,42 @@

Incident Details

{% endif %} + + + Suppressed ? + + + {% if incident.is_suppressed %} +
{% csrf_token %} + + + +
+ {% else %} No {% endif %} + + - + Action: + {% if incident.status == 'Active' %}
{% csrf_token %} - +
{% csrf_token %} - +
{% elif incident.status == 'Acknowledged' %}
{% csrf_token %} - +
{% endif %}