From 741d1fed4b96ffdfa000f01ce9ba2813a971f6c2 Mon Sep 17 00:00:00 2001
From: komalsheth286
Date: Mon, 3 Oct 2016 14:46:54 +0530
Subject: Status buttons removed from COmment page
---
website/views.py | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
(limited to 'website/views.py')
diff --git a/website/views.py b/website/views.py
index 8dd0da1..8505716 100755
--- a/website/views.py
+++ b/website/views.py
@@ -154,7 +154,7 @@ def submitcfp(request):
subject = "SciPy India 2016 – Talk Proposal Submission Acknowledgment"
to = (social_user.email, "scipy@fossee.in")
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 link to view status of your submission.
Thank You !
Regards,
SciPy India 2016,
FOSSEE - IIT Bombay.'
+ html_content = render_to_string('Visit this link to view status of your submission.
Thank You !
Regards,
SciPy India 2016,
FOSSEE - IIT Bombay.')
email = EmailMultiAlternatives(
subject,text_content,
sender_email, to,
@@ -376,7 +376,7 @@ def comment_abstract(request, proposal_id = None):
Dear {0},
There is a comment posted on your proposal for the workshop titled {1}.
Once we receive your response, you will be notified regarding further comments/acceptance/ rejection of your talk/workshop via email.
- Visit this link to view comments on your submission.
+ Visit this {2} link to view comments on your submission.
Thank You !
Regards,
SciPy India 2016,
FOSSEE - IIT Bombay.
""".format(
proposal.user.first_name,
@@ -448,14 +448,14 @@ def status(request, proposal_id= None):
subject = "SciPy India 2016 - Talk Proposal Rejected"
message = """Dear """+proposal.user.first_name+""",
We regret to inform you that your proposal for the talk titled '"""+ proposal.title+ """' as not been shortlisted.
- You may register and attend the conference by clicking here
+ You may register and attend the conference by clicking http://scipyindia2016.doattend.com/.
\n\nThank You ! \n\nRegards,\nSciPy India 2016,\nFOSSEE - IIT Bombay"""
elif proposal.proposal_type == 'WORKSHOP':
subject = "SciPy India 2016 - Workshop Proposal Rejected"
message = """Dear """+proposal.user.first_name+""",
We regret to inform you that your proposal for the workshop titled '"""+ proposal.title+ """' as not been shortlisted.
- You may register and attend the conference by clicking here
- \n\n Thank You ! \n\nRegards,\nSciPy India 2016,\nFOSSEE - IIT Bombay"""
+ You may register and attend the conference by clicking http://scipyindia2016.doattend.com/.
+ \n\nThank You ! \n\nRegards,\nSciPy India 2016,\nFOSSEE - IIT Bombay"""
send_mail(subject, message, sender_email, to)
context.update(csrf(request))
elif 'resubmit' in request.POST:
@@ -582,7 +582,7 @@ def status_change(request):
message = """Dear """+proposal.user.first_name+""",
We regret to inform you that your proposal for the workshop titled '"""+ proposal.title+ """'as not been shortlisted.
You may register and attend the conference by clicking http://scipyindia2016.doattend.com/
- \n\n Thank You ! \n\nRegards,\nSciPy India 2016,\nFOSSEE - IIT Bombay"""
+ \n\nThank You ! \n\nRegards,\nSciPy India 2016,\nFOSSEE - IIT Bombay"""
send_mail(subject, message, sender_email, to)
context.update(csrf(request))
proposals = Proposal.objects.all()
@@ -601,8 +601,8 @@ def status_change(request):
message = """
Dear {0},
Thank you for showing interest & submitting a talk proposal at SciPy India 2016 conference for the talk titled "{1}". You are requested to submit this talk proposal once again.
- You will be notified regarding comments/selection/rejection of your talk/workshop via email.
- Visit this link to view comments on your submission.
+ You will be notified regarding comments/selection/rejection of your talk via email.
+ Visit this {2} link to view comments on your submission.
Thank You !
Regards,
SciPy India 2016,
FOSSEE - IIT Bombay.
""".format(
proposal.user.first_name,
@@ -613,8 +613,8 @@ def status_change(request):
subject = "SciPy India 216 - Workshop Proposal Resubmission"
message = """
Thank you for showing interest & submitting a workshop proposal at SciPy India 2016 conference for the workshop titled "{1}". You are requested to submit this talk proposal once again.
- You will be notified regarding comments/selection/rejection of your talk/workshop via email.
- Visit this link to view comments on your submission.
+ You will be notified regarding comments/selection/rejection of your workshop via email.
+ Visit this {2} link to view comments on your submission.
Thank You !
Regards,
SciPy India 2016,
FOSSEE - IIT Bombay.
""".format(
proposal.user.first_name,
--
cgit