From 895cab2c1c7c72c983a2c5520a97090bd22416f9 Mon Sep 17 00:00:00 2001 From: Sachi King Date: Sun, 23 Apr 2017 18:33:18 +1000 Subject: [PATCH] Signal rejections and standby talks. Go green for Accepted Go Red for Rejected Go yellow for Standby --- .../symposion/proposals/_proposal_row.html | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/pinaxcon/templates/symposion/proposals/_proposal_row.html b/pinaxcon/templates/symposion/proposals/_proposal_row.html index 012c3e84..5b1fdf5b 100644 --- a/pinaxcon/templates/symposion/proposals/_proposal_row.html +++ b/pinaxcon/templates/symposion/proposals/_proposal_row.html @@ -1,5 +1,13 @@
-
+ {% if proposal.result.status == "accepted" %} +
+ {% elif proposal.result.status == "rejected" %} +
+ {% elif proposal.result.status == "standby" %} +
+ {% else %} +
+ {% endif %}
{{ proposal.title }}
@@ -14,6 +22,10 @@ {% if request.user == proposal.speaker.user %} {% if proposal.result.status == "accepted" %} Accepted + {% elif proposal.result.status == "rejected" %} + Rejected + {% elif proposal.result.status == "standby" %} + Standby {% else %} Submitted {% endif %}