# HG changeset patch # User Lennard de Rijk # Date 1236535744 0 # Node ID 63fa0e7f8f47749a05610e2b281d2d2e83695dfd # Parent 564f3adf4acf4010c4d723448b2925645c6c629e Made all links in e-mail verbatim to solve Issue 250. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed diff -r 564f3adf4acf -r 63fa0e7f8f47 app/soc/templates/soc/mail/new_notification.html --- a/app/soc/templates/soc/mail/new_notification.html Sun Mar 08 17:41:02 2009 +0000 +++ b/app/soc/templates/soc/mail/new_notification.html Sun Mar 08 18:09:04 2009 +0000 @@ -16,7 +16,7 @@ {% block content %} You have received a new notification entitled "{{ notification.subject }}". -To read, respond to, or delete this notification please click here. +To read, respond to, or delete this notification please visit {{ notification_url }}. {% endblock %} {% block signature %} diff -r 564f3adf4acf -r 63fa0e7f8f47 app/soc/templates/soc/mail/welcome.html --- a/app/soc/templates/soc/mail/welcome.html Sun Mar 08 17:41:02 2009 +0000 +++ b/app/soc/templates/soc/mail/welcome.html Sun Mar 08 18:09:04 2009 +0000 @@ -21,8 +21,8 @@ {% ifequal site_name "Melange" %} Currently Melange is still under development, if you run into any trouble you can usually find us at #melange on freenode IRC network. -If you find any bugs,please report them to our -Issue Tracker. +If you find any bugs,please report them to our Issue tracker which can be found +at http://code.google.com/p/soc/issues/list. {% endifequal %} {% endblock %} diff -r 564f3adf4acf -r 63fa0e7f8f47 app/soc/views/models/org_app.py --- a/app/soc/views/models/org_app.py Sun Mar 08 17:41:02 2009 +0000 +++ b/app/soc/views/models/org_app.py Sun Mar 08 18:09:04 2009 +0000 @@ -210,7 +210,7 @@ # use the accepted template and subject template = params['accepted_mail_template'] context['subject'] = 'Congratulations!' - context['HTTP_host'] = os.environ['HTTP_HOST'] + context['HTTP_host'] = 'http://%s' %(os.environ['HTTP_HOST']) elif status == 'rejected': # use the rejected template and subject template = params['rejected_mail_template']