Merged [5901] from adam@nostrum.com:

Added a document link to the emails sent on discuss/comment changes.  Fixes bug #916
 - Legacy-Id: 5930
Note: SVN reference [5901] has been migrated to Git commit 30dec0ec09
This commit is contained in:
Henrik Levkowetz 2013-07-31 14:08:36 +00:00
commit d7879978f1
2 changed files with 6 additions and 2 deletions

View file

@ -309,7 +309,7 @@ def send_ballot_comment(request, name):
subject += ": (with "+" and ".join(subj)+")"
body = render_to_string("idrfc/ballot_comment_mail.txt",
dict(discuss=d, comment=c, ad=ad, doc=doc, pos=pos))
dict(discuss=d, comment=c, ad=ad, doc=doc, pos=pos, settings=settings))
frm = u"%s <%s>" % ad.person.email()
to = "The IESG <iesg@ietf.org>"
@ -385,7 +385,8 @@ def send_ballot_commentREDESIGN(request, name, ballot_id):
ad=ad.plain_name(),
doc=doc,
pos=pos.pos,
blocking_name=blocking_name,))
blocking_name=blocking_name,
settings=settings))
frm = ad.role_email("ad").formatted_email()
to = "The IESG <iesg@ietf.org>"

View file

@ -10,6 +10,9 @@ Please refer to http://www.ietf.org/iesg/statement/discuss-criteria.html
for more information about IESG DISCUSS and COMMENT positions.
{% endif %}
The document, along with other ballot positions, can be found here:
{{ settings.IDTRACKER_BASE_URL }}{{ doc.get_absolute_url }}
{% if not discuss and not comment %}
There are no remarks associated with this position.
{% endif %}