File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -228,11 +228,13 @@ def send_ballot_comment(request, name):
228228 c = comment .text
229229 subj .append ("COMMENT" )
230230
231- subject = "%s: %s" % (" and " .join (subj ), doc .file_tag ())
231+ ad_name = str (ad )
232+ ad_name_genitive = ad_name + "'" if ad_name .endswith ('s' ) else ad_name + "'s"
233+ subject = "%s %s on %s" % (ad_name_genitive , " and " .join (subj ), doc .filename + '-' + doc .revision_display ())
232234 body = render_to_string ("idrfc/ballot_comment_mail.txt" ,
233- dict (discuss = d , comment = c ))
235+ dict (discuss = d , comment = c , ad = ad , doc = doc ))
234236 frm = u"%s <%s>" % ad .person .email ()
235- to = "iesg@ietf.org"
237+ to = "The IESG < iesg@ietf.org> "
236238
237239 if request .method == 'POST' :
238240 cc = [x .strip () for x in request .POST .get ("cc" , "" ).split (',' ) if x .strip ()]
Original file line number Diff line number Diff line change 1- {% if discuss %}Discuss:
1+ {{ ad }} has entered the following ballot position for
2+ {{ doc.filename }}-{{ doc.revision_display }}.
3+
4+ When responding, please keep the subject line intact and reply to all
5+ email addresses included in the To and CC lines. (Feel free to cut this
6+ introductory paragraph, however.)
7+
8+ Please refer to http://www.ietf.org/iesg/statement/discuss-criteria.html
9+ for more information about IESG DISCUSS and COMMENT positions.
10+
11+
12+ {% if discuss %}----------------------------------------------------------------------
13+ DISCUSS:
14+ ----------------------------------------------------------------------
15+
216{{ discuss|safe }}
317
4- {% endif %}{% if comment %}Comment:
18+
19+ {% endif %}{% if comment %}----------------------------------------------------------------------
20+ COMMENT:
21+ ----------------------------------------------------------------------
22+
523{{ comment|safe }}
624{% endif %}
Original file line number Diff line number Diff line change 11{% extends "base.html" %}
22
3- {% block title %}Email Discuss and Comment text for {{ ad }} to IESG list {% endblock %}
3+ {% block title %}Send ballot position email for {{ ad }}{% endblock %}
44
55{% block morecss %}
66form.send-ballot pre {
1212{% endblock %}
1313
1414{% block content %}
15- < h1 > Email Discuss and Comment text for {{ ad }} to IESG list </ h1 >
15+ < h1 > Send ballot position email for {{ ad }}</ h1 >
1616
1717< form class ="send-ballot " action ="" method ="POST ">
1818 < table >
@@ -24,7 +24,7 @@ <h1>Email Discuss and Comment text for {{ ad }} to IESG list</h1>
2424 < td > < input type ="text " name ="cc " value ="" size ="75 " /> < br />
2525 {% if doc.idinternal.state_change_notice_to %}
2626 < label >
27- < input type ="checkbox " name ="cc_state_change " value ="1 " />
27+ < input type ="checkbox " name ="cc_state_change " value ="1 " checked =" yes " />
2828 {{ doc.idinternal.state_change_notice_to }}
2929 </ label >
3030 {% endif %}
You can’t perform that action at this time.
0 commit comments