diff options
author | Komal Sheth | 2016-10-03 16:22:20 +0530 |
---|---|---|
committer | GitHub | 2016-10-03 16:22:20 +0530 |
commit | 51f31f21cca7f3b2cebdee84be0d0eb9a23a8eac (patch) | |
tree | 60eb32eeb2d1ac08cf478e78a17e2f6d1672c208 | |
parent | e93413d3ce998e2105943ef4e1e53636d71c1b00 (diff) | |
parent | e8bd883f65efb6928d0d20c09a5bed274805b2da (diff) | |
download | SciPy2016-51f31f21cca7f3b2cebdee84be0d0eb9a23a8eac.tar.gz SciPy2016-51f31f21cca7f3b2cebdee84be0d0eb9a23a8eac.tar.bz2 SciPy2016-51f31f21cca7f3b2cebdee84be0d0eb9a23a8eac.zip |
Merge pull request #17 from FOSSEE/Home_page
dumy smtp setting removed
-rwxr-xr-x | scipy2016/settings.py | 14 | ||||
-rwxr-xr-x | website/templates/cfp.html | 6 | ||||
-rwxr-xr-x | website/views.py | 24 |
3 files changed, 25 insertions, 19 deletions
diff --git a/scipy2016/settings.py b/scipy2016/settings.py index d3af3d3..01cedf0 100755 --- a/scipy2016/settings.py +++ b/scipy2016/settings.py @@ -154,10 +154,10 @@ LOGIN_REDIRECT_URL = '/cfp' # smtp -ACCOUNT_ACTIVATION_DAYS = 7 -EMAIL_HOST = 'localhost' -EMAIL_PORT = 1025 -EMAIL_HOST_USER = '' -EMAIL_HOST_PASSWORD = '' -EMAIL_USE_TLS = False -DEFAULT_FROM_EMAIL = 'komal@gmail.com'
\ No newline at end of file +# ACCOUNT_ACTIVATION_DAYS = 7 +# EMAIL_HOST = 'localhost' +# EMAIL_PORT = 1025 +# EMAIL_HOST_USER = '' +# EMAIL_HOST_PASSWORD = '' +# EMAIL_USE_TLS = False +# DEFAULT_FROM_EMAIL = 'komal@gmail.com'
\ No newline at end of file diff --git a/website/templates/cfp.html b/website/templates/cfp.html index 2aa14cc..e0eb537 100755 --- a/website/templates/cfp.html +++ b/website/templates/cfp.html @@ -47,7 +47,13 @@ <section id="content" class="main"> {% if proposal_submit %} <center> + <table> + <tr> + <td> <p>Thank You for your submission. Your proposal has been saved successfully and is under review. You can check the status of submission <a href="{% url 'website:view_abstracts' %}">here </a>!</p> + </td> + </tr> + </table> </center> {% endif %} {% if registration_complete %} diff --git a/website/views.py b/website/views.py index cad56be..276f70e 100755 --- a/website/views.py +++ b/website/views.py @@ -155,10 +155,10 @@ def submitcfp(request): to = (social_user.email, "scipy@fossee.in") message = """ Dear {0}, <br><br> - Thank you for showing interest & submitting a talk proposal at SciPy India 2016 conference for the talk titled “{1}”. Reviewal of the proposals will start once the CFP closes. + Thank you for showing interest & submitting a talk proposal at SciPy India 2016 conference for the talk titled <b>“{1}”</b>. Reviewal of the proposals will start once the CFP closes. <br><br>You will be notified regarding comments/selection/rejection of your talk via email. Visit this {2} link to view status of your submission. - Thank You ! <br><br>Regards,<br>SciPy India 2016,<br>FOSSEE - IIT Bombay. + <br>Thank You ! <br><br>Regards,<br>SciPy India 2016,<br>FOSSEE - IIT Bombay. """.format( social_user.first_name, request.POST['title'], @@ -205,10 +205,10 @@ def submitcfw(request): to = (social_user.email, "scipy@fossee.in") message = """ Dear {0}, <br><br> - Thank you for showing interest & submitting a workshop proposal at SciPy India 2016 conference for the workshop titled “{1}”. Reviewal of the proposals will start once the CFP closes. + Thank you for showing interest & submitting a workshop proposal at SciPy India 2016 conference for the workshop titled <b>“{1}”</b>. Reviewal of the proposals will start once the CFP closes. <br><br>You will be notified regarding comments/selection/rejection of your workshop via email. Visit this {2} link to view status of your submission. - Thank You ! <br><br>Regards,<br>SciPy India 2016,<br>FOSSEE - IIT Bombay. + <br>Thank You ! <br><br>Regards,<br>SciPy India 2016,<br>FOSSEE - IIT Bombay. """.format( social_user.first_name, request.POST['title'], @@ -369,7 +369,7 @@ def comment_abstract(request, proposal_id = None): subject = "SciPy India 216 - Comment on Your talk Proposal" message = """ Dear {0}, <br><br> - There is a comment posted on your proposal for the talk titled {1}.<br> + There is a comment posted on your proposal for the talk titled <b>{1}</b>.<br> Once we receive your response, you will be notified regarding further comments/acceptance/ rejection of your talk/workshop via email. Visit this link {2} to view comments on your submission.<br><br> Thank You ! <br><br>Regards,<br>SciPy India 2016,<br>FOSSEE - IIT Bombay. @@ -382,7 +382,7 @@ def comment_abstract(request, proposal_id = None): subject = "SciPy India 216 - Comment on Your Workshop Proposal" message = """ Dear {0}, <br><br> - There is a comment posted on your proposal for the workshop titled {1}.<br> + There is a comment posted on your proposal for the workshop titled <b>{1}</b>.<br> Once we receive your response, you will be notified regarding further comments/acceptance/ rejection of your talk/workshop via email. Visit this {2} link to view comments on your submission.<br><br> Thank You ! <br><br>Regards,<br>SciPy India 2016,<br>FOSSEE - IIT Bombay. @@ -455,13 +455,13 @@ def status(request, proposal_id= None): if proposal.proposal_type == 'ABSTRACT': 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.<br> + We regret to inform you that your proposal for the talk titled '"""+ proposal.title+ """' has not been shortlisted. 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.<br> + We regret to inform you that your proposal for the workshop titled '"""+ proposal.title+ """' has not been shortlisted. 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) @@ -582,13 +582,13 @@ def status_change(request): if proposal.proposal_type == 'ABSTRACT': 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.<br> + We regret to inform you that your proposal for the talk titled '"""+ proposal.title+ """' as not been shortlisted.<br> 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.<br> + We regret to inform you that your proposal for the workshop titled '"""+ proposal.title+ """' as not been shortlisted.<br> 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) @@ -608,7 +608,7 @@ def status_change(request): subject = "SciPy India 216 - Talk Proposal Resumbmission" message = """ Dear {0}, <br><br> - 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.<br> + Thank you for showing interest & submitting a talk proposal at SciPy India 2016 conference for the talk titled <b>"{1}"</b>. You are requested to submit this talk proposal once again.<br> You will be notified regarding comments/selection/rejection of your talk via email. Visit this {2} link to view comments on your submission.<br><br> Thank You ! <br><br>Regards,<br>SciPy India 2016,<br>FOSSEE - IIT Bombay. @@ -620,7 +620,7 @@ def status_change(request): elif proposal.proposal_type =='WORKSHOP': 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.<br> + Thank you for showing interest & submitting a workshop proposal at SciPy India 2016 conference for the workshop titled <b>"{1}"</b>. You are requested to submit this talk proposal once again.<br> You will be notified regarding comments/selection/rejection of your workshop via email. Visit this {2} link to view comments on your submission.<br><br> Thank You ! <br><br>Regards,<br>SciPy India 2016,<br>FOSSEE - IIT Bombay. |