Skip to content

Commit 4e47f01

Browse files
committed
nomination detail view: missed an if
1 parent 0fc4be8 commit 4e47f01

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

templates/nominations/nomination_detail.html

+4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ <h1 class="page-title">Nomination for {{ nomination.name }} in {{ nomination.ele
1717
{% if nomination.nominee.user == request.user %}
1818
<center>
1919
<i>You are the nominee for this nomination.</i><br>
20+
{% if nomination.accepted %}
2021
<i>It is currently accepted!</i></br>
22+
{% else %}
23+
<b>It is not currently accepted!</b></br>
24+
{% endif %}
2125
{% if editable %}
2226
{% if nomination.nominator == request.user %}
2327
<a href="{{ nomination.get_edit_url }}">Edit</a>

0 commit comments

Comments
 (0)