Signal rejections and standby talks.
Go green for Accepted Go Red for Rejected Go yellow for Standby
This commit is contained in:
parent
dfd1da01be
commit
895cab2c1c
1 changed files with 13 additions and 1 deletions
|
@ -1,5 +1,13 @@
|
||||||
<div class="col-xs-12 col-sm-6 col-lg-6">
|
<div class="col-xs-12 col-sm-6 col-lg-6">
|
||||||
<div class="panel panel-primary"> <!-- Todo Make the colour relate to status of acceptance -->
|
{% if proposal.result.status == "accepted" %}
|
||||||
|
<div class="panel panel-success">
|
||||||
|
{% elif proposal.result.status == "rejected" %}
|
||||||
|
<div class="panel panel-danger">
|
||||||
|
{% elif proposal.result.status == "standby" %}
|
||||||
|
<div class="panel panel-warning">
|
||||||
|
{% else %}
|
||||||
|
<div class="panel panel-primary">
|
||||||
|
{% endif %}
|
||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
<h5>{{ proposal.title }}</h5>
|
<h5>{{ proposal.title }}</h5>
|
||||||
</div>
|
</div>
|
||||||
|
@ -14,6 +22,10 @@
|
||||||
{% if request.user == proposal.speaker.user %}
|
{% if request.user == proposal.speaker.user %}
|
||||||
{% if proposal.result.status == "accepted" %}
|
{% if proposal.result.status == "accepted" %}
|
||||||
<span class="label label-success">Accepted</span>
|
<span class="label label-success">Accepted</span>
|
||||||
|
{% elif proposal.result.status == "rejected" %}
|
||||||
|
<span class="label label-danger">Rejected</span>
|
||||||
|
{% elif proposal.result.status == "standby" %}
|
||||||
|
<span class="label label-warning">Standby</span>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="label label-default">Submitted</span>
|
<span class="label label-default">Submitted</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue