summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkomalsheth2862016-10-03 14:16:32 +0530
committerkomalsheth2862016-10-03 14:16:32 +0530
commit1e3e48475fba0230d5636d73b28268f33725709a (patch)
tree7cd8280898e44c3c4c14e11863ddf5b7c2de9ec6
parentcfd8fc0ecfaf6d28cc23ac977e7acc1764ffe2b6 (diff)
downloadSciPy2016-1e3e48475fba0230d5636d73b28268f33725709a.tar.gz
SciPy2016-1e3e48475fba0230d5636d73b28268f33725709a.tar.bz2
SciPy2016-1e3e48475fba0230d5636d73b28268f33725709a.zip
email Template changes
-rwxr-xr-xwebsite/views.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/website/views.py b/website/views.py
index 089b49c..8dd0da1 100755
--- a/website/views.py
+++ b/website/views.py
@@ -153,10 +153,7 @@ def submitcfp(request):
sender_email = "scipy@fossee.in"
subject = "SciPy India 2016 – Talk Proposal Submission Acknowledgment"
to = (social_user.email, "scipy@fossee.in")
- text_content = """Dear """+proposal.user.first_name+""",
- Thank you for showing interest & submitting a talk proposal at SciPy India 2016 conference for the talk titled '"""+ request.POST['title']+ """'.
- Reviewal of the proposals will start once the CFP closes.\n\n
- You will be notified regarding comments/selection/rejection of your talk via email.\n"""
+ text_content = 'Dear'+ social_user.first_name+',Thank you for showing interest & submitting a talk proposal at SciPy India 2016 conference for the talk titled '+ request.POST['title']+'.\nReviewal of the proposals will start once the CFP closes.\n\nYou will be notified regarding comments/selection/rejection of your talk via email.\n'
html_content = 'Visit this <a herf = "http://scipy.in/2016/view-abstracts/"> link </a> to view status of your submission.<br> Thank You ! <br><br>Regards,<br><a herf = “http://scipy.in/2016>SciPy</a> India 2016,<br>FOSSEE - IIT Bombay.'
email = EmailMultiAlternatives(
subject,text_content,