File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,11 @@ <h1 class="page-title">Nomination for {{ nomination.name }} in {{ nomination.ele
1919 < i > You are the nominee for this nomination.</ i > < br >
2020 < i > It is currently accepted!</ i > </ br >
2121 {% if editable %}
22+ {% if nomination.nominator == request.user %}
23+ < a href ="{{ nomination.get_edit_url }} "> Edit</ a >
24+ {% else %}
2225 < a href ="{{ nomination.get_accept_url }} "> Change Acceptance</ a >
26+ {% endif %}
2327 {% else %}
2428 < i > It is no longer editable as nominations are closed.</ i >
2529 {% endif %}
@@ -44,9 +48,11 @@ <h1 class="page-title">Nomination for {{ nomination.name }} in {{ nomination.ele
4448 < li > < b > Employer</ b > : {{ nomination.employer }}</ li >
4549 < li > < b > Other Affiliations</ b > : {{ nomination.other_affiliations }}</ li >
4650 < li > < b > Previous Board Service</ b > : {{ nomination.previous_board_service }}</ li >
47- < li > < b > Nominated By</ b > : {{ nomination.nominator.first_name }} {{ nomination.nominator.last_name }}</ li >
4851 {% if nomination.nominee.user == request.user %}
52+ < li > < b > Nominated By</ b > : Self</ li >
4953 < li > < b > Accepted:</ b > {{ nomination.accepted }}</ li >
54+ {% else %}
55+ < li > < b > Nominated By</ b > : {{ nomination.nominator.first_name }} {{ nomination.nominator.last_name }}</ li >
5056 {% endif %}
5157 </ ul >
5258 </ div >
Original file line number Diff line number Diff line change @@ -30,7 +30,11 @@ <h2>Nominations Received</h2>
3030 {% endif %}
3131 < a href ="{{ nomination.get_absolute_url }} ">
3232 {% if nomination.is_editable %}
33- View / Manage
33+ {% if nomination.nominator == request.user %}
34+ View / Edit
35+ {% else %}
36+ View / Manage Acceptance
37+ {% endif %}
3438 {% else %}
3539 View
3640 {% endif %}
You can’t perform that action at this time.
0 commit comments