Fix wording of send ballot comment, the actual text was still specific
to drafts. - Legacy-Id: 4360
This commit is contained in:
parent
1e0cb1f105
commit
b6a057673a
|
@ -469,9 +469,11 @@ def send_ballot_commentREDESIGN(request, name, ballot_id):
|
|||
|
||||
subj = []
|
||||
d = ""
|
||||
blocking_name = "DISCUSS"
|
||||
if pos.pos.blocking and pos.discuss:
|
||||
d = pos.discuss
|
||||
subj.append(pos.pos.name.upper())
|
||||
blocking_name = pos.pos.name.upper()
|
||||
subj.append(blocking_name)
|
||||
c = ""
|
||||
if pos.comment:
|
||||
c = pos.comment
|
||||
|
@ -482,10 +484,13 @@ def send_ballot_commentREDESIGN(request, name, ballot_id):
|
|||
if subj:
|
||||
subject += ": (with %s)" % " and ".join(subj)
|
||||
|
||||
doc.filename = doc.name # compatibility attributes
|
||||
doc.revision_display = doc.rev
|
||||
body = render_to_string("idrfc/ballot_comment_mail.txt",
|
||||
dict(discuss=d, comment=c, ad=ad.plain_name(), doc=doc, pos=pos.pos))
|
||||
dict(discuss=d,
|
||||
comment=c,
|
||||
ad=ad.plain_name(),
|
||||
doc=doc,
|
||||
pos=pos.pos,
|
||||
blocking_name=blocking_name,))
|
||||
frm = ad.role_email("ad").formatted_email()
|
||||
to = "The IESG <iesg@ietf.org>"
|
||||
|
||||
|
|
|
@ -1,19 +1,21 @@
|
|||
{% autoescape off %}{{ ad }} has entered the following ballot position for
|
||||
{{ doc.filename }}-{{ doc.revision_display }}: {{ pos.name }}
|
||||
{{ doc.name }}-{{ doc.rev }}: {{ pos.name }}
|
||||
|
||||
When responding, please keep the subject line intact and reply to all
|
||||
email addresses included in the To and CC lines. (Feel free to cut this
|
||||
introductory paragraph, however.)
|
||||
|
||||
{% if doc.type_id == "draft" %}
|
||||
Please refer to http://www.ietf.org/iesg/statement/discuss-criteria.html
|
||||
for more information about IESG DISCUSS and COMMENT positions.
|
||||
{% endif %}
|
||||
|
||||
{% if not discuss and not comment %}
|
||||
There is no DISCUSS or COMMENT text associated with this position.
|
||||
There are no remarks associated with this position.
|
||||
{% endif %}
|
||||
|
||||
{% if discuss %}----------------------------------------------------------------------
|
||||
DISCUSS:
|
||||
{{ blocking_name }}:
|
||||
----------------------------------------------------------------------
|
||||
|
||||
{{ discuss|safe|wordwrap:73 }}
|
||||
|
|
Loading…
Reference in a new issue