Skip to content

Commit d2b2bb1

Browse files
committed
Merged in [17219] from rjsparks@nostrum.com:
Update some uses of pos.ad in templates to pos.balloter. Fixes ietf-tools#2863. - Legacy-Id: 17224 Note: SVN reference [17219] has been migrated to Git commit af0a995
2 parents 09b2ba4 + af0a995 commit d2b2bb1

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

ietf/doc/views_charter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright The IETF Trust 2011-2019, All Rights Reserved
1+
# Copyright The IETF Trust 2011-2020, All Rights Reserved
22
# -*- coding: utf-8 -*-
33

44

@@ -671,7 +671,7 @@ def ballot_writeupnotes(request, name):
671671
pos.type = "changed_ballot_position"
672672
pos.balloter = by
673673
pos.pos_id = "yes"
674-
pos.desc = "[Ballot Position Update] New position, %s, has been recorded for %s" % (pos.pos.name, pos.ad.plain_name())
674+
pos.desc = "[Ballot Position Update] New position, %s, has been recorded for %s" % (pos.pos.name, pos.balloter.plain_name())
675675
pos.save()
676676
# Consider mailing this position to 'iesg_ballot_saved'
677677

ietf/templates/iesg/moderator_doc.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
{% if ballot %}
5757
<small><pre>
5858
Yes No-Objection Discuss Abstain Recuse
59-
{% for pos in ballot.all_positions %}{% if pos.old_ad %}{{pos.ad.plain_name|bracket|ljust:"22"}}{%else%}{{pos.ad.plain_name|ljust:"22"}}{%endif%} {{pos|bracketpos:"yes"}} {{pos|bracketpos:"noobj"}} {{pos|bracketpos:"discuss"}} {{pos|bracketpos:"abstain"}} {{pos|bracketpos:"recuse"}}
59+
{% for pos in ballot.all_positions %}{% if pos.old_ad %}{{pos.balloter.plain_name|bracket|ljust:"22"}}{%else%}{{pos.balloter.plain_name|ljust:"22"}}{%endif%} {{pos|bracketpos:"yes"}} {{pos|bracketpos:"noobj"}} {{pos|bracketpos:"discuss"}} {{pos|bracketpos:"abstain"}} {{pos|bracketpos:"recuse"}}
6060
{% endfor %}
6161
</pre></small>
6262

0 commit comments

Comments
 (0)