Skip to content

Commit

Permalink
allow acceptance of nominations after deadline
Browse files Browse the repository at this point in the history
  • Loading branch information
ewdurbin committed Jun 16, 2023
1 parent 155b2b0 commit 02ef7a8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions templates/nominations/nomination_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ <h1 class="page-title">Nomination for {{ nomination.name }} in {{ nomination.ele
<i>It is currently accepted!</i></br>
{% else %}
<b>It is not currently accepted!</b></br>
<a href="{{ nomination.get_accept_url }}">Change Acceptance</a><br>
{% endif %}
{% if editable %}
{% if nomination.nominator == request.user %}
<a href="{{ nomination.get_edit_url }}">Edit</a>
{% else %}
<a href="{{ nomination.get_accept_url }}">Change Acceptance</a>
{% endif %}
{% else %}
<i>It is no longer editable as nominations are closed.</i>
Expand Down

0 comments on commit 02ef7a8

Please sign in to comment.