diff options
author | Sashi20 | 2018-10-23 15:12:38 +0530 |
---|---|---|
committer | Sashi20 | 2018-10-23 15:12:38 +0530 |
commit | a16e419878f295f107332cde5217ad7ecf32394b (patch) | |
tree | 07c31bfa738a79b4969b3da280b851268dff542c | |
parent | a1c8da5c5778a78b175f595d668364a15bc86c67 (diff) | |
download | nccps-2018-a16e419878f295f107332cde5217ad7ecf32394b.tar.gz nccps-2018-a16e419878f295f107332cde5217ad7ecf32394b.tar.bz2 nccps-2018-a16e419878f295f107332cde5217ad7ecf32394b.zip |
Modified the registration table and email template for rejecting proposal
-rw-r--r-- | static/website/templates/home.html | 10 | ||||
-rwxr-xr-x | static/website/templates/view-proposals.html | 2 | ||||
-rw-r--r-- | website/views.py | 58 |
3 files changed, 31 insertions, 39 deletions
diff --git a/static/website/templates/home.html b/static/website/templates/home.html index 951086c..22a04a5 100644 --- a/static/website/templates/home.html +++ b/static/website/templates/home.html @@ -228,9 +228,10 @@ </div> <div class="row"> <div class="col-md-12"> - <p class="text-justify" style="color: red;"> + <p class="text-justify" style="color: red;"> *Spot registration will be subject to availability. </p> + <h3 style="background-color: #806600;color: #fff;" class="col-sm-2">Add ons</h3> </div> </div> <div class="row"> @@ -245,8 +246,11 @@ </td> <td style="vertical-align:bottom;border-top:none;!important"> <div class="align-baseline"> - We have limited Low cost accommodation, guaranteed only if you register early. Approximate cost of the accomodation for 1 night will be INR. 1400. You have to make the payment directly to the hotel during check-out via cash / card. - + <ul> + <li>We have limited Low cost accommodation, guaranteed only if you register early. Approximate cost of the accomodation for 1 night will be INR. 1250/- to INR. 1400/-.</li> + <li>For students, low-cost accommodation ranging from INR 300/- to INR 400/- can be arranged.</li> + <li>You have to make the payment directly to the hotel during check-out via cash / card.</li> + </ul> </div> </td> </tr> diff --git a/static/website/templates/view-proposals.html b/static/website/templates/view-proposals.html index bbc16ba..0e2ec1b 100755 --- a/static/website/templates/view-proposals.html +++ b/static/website/templates/view-proposals.html @@ -126,7 +126,7 @@ </p> - {% if user.is_superuser %} + {% if user.is_staff %} <input type="submit" id="delete" class ="btn btn-info" value="Delete" name="delete"/> <center> <input type="submit" id="accept" class ="btn btn-info" value="Accept" name="accept"/> diff --git a/website/views.py b/website/views.py index d45db5f..cb00358 100644 --- a/website/views.py +++ b/website/views.py @@ -480,29 +480,12 @@ def comment_abstract(request, proposal_id=None): subject = "NCCPS 2018 - Comment on Your talk Proposal" message = """ Dear {0}, <br><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> + There is a comment posted on your proposal titled <b>{1}</b>.<br> + Log in to the website to view comments on your submission.<br><br> Thank You ! <br><br>Regards,<br>NCCPS 2018,<br>FOSSEE - IIT Bombay. """.format( proposal.user.first_name, proposal.title, - 'http://dwsim.fossee.in/nccps-2018/abstract-details/' + - str(proposal.id), - ) - elif proposal.proposal_type == 'WORKSHOP': - subject = "NCCPS 2018 - Comment on Your Workshop Proposal" - message = """ - Dear {0}, <br><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>NCCPS 2018,<br>FOSSEE - IIT Bombay. - """.format( - proposal.user.first_name, - proposal.title, - 'http://dwsim.fossee.in/nccps-2018/abstract-details/' + - str(proposal.id), ) email = EmailMultiAlternatives( subject, '', @@ -581,18 +564,19 @@ def status(request, proposal_id=None): sender_email = TO_EMAIL to = (proposal.user.email, TO_EMAIL, ) if proposal.proposal_type == 'PAPER': - subject = "NCCPS 2018 - Talk Proposal Rejected" - message = """Dear """+proposal.user.first_name+""", - Thank you for your submission to the conference. Unfortunately, due to the large number of excellent talks that were submitted, your talk was not selected. We hope you are not discouraged and request you to kindly attend the conference and participate. We have an excellent line up of workshops (8 in total) and many excellent talks. You may also wish to give a lightning talk (a short 5 minute talk) at the conference if you so desire. - We look forward to your active participation in the conference. - \n\nThank You ! \n\nRegards,\nNCCPS 2018,\nFOSSEE - IIT Bombay""" - # message = """Dear """+proposal.user.first_name+""", - # Your talk was rejected because the contents of your work (your report for example) were entirely plagiarized. This is unacceptable and this amounts to severe academic malpractice and misconduct. As such we do not encourage this at any level whatsoever. We strongly suggest that you change your ways. You should NEVER EVER copy paste any content, no matter where you see it. Even if you cite the place where you lifted material from, it is not acceptable to copy anything verbatim. Always write in your own words. Your own personal integrity is much more important than a publication. When giving a tutorial it is understandable that you may use material that someone else has made if you acknowledge this correctly and with their full knowledge. However, the expectation is that you have done something yourself too. In your case a bulk of the work seems plagiarized and even if your talk material is your own, your act of plagiarizing content for your report is unacceptable to us. - - # Having said that, we do encourage you to attend the conference. We hope you do change your ways and be honest in the future. - - # \n\nRegards,\n\n - # NCCPS Program chairs""" + subject = "NCCPS 2018 - Paper Proposal Rejected" + message = """ + Dear {0}, <br><br> + We are thankful for your submission and patience. + We regret to inform you that your paper titled <b>“{1}”</b> is not selected for NCCPS-2018. + Please check the feedback of reviewers by logging in at {2}.<br> + You are welcome to attend the conference. Please register at {3} + <br>Thank You ! <br><br>Regards,<br>NCCPS 2018,<br>FOSSEE - IIT Bombay. + """.format( + proposal.user.first_name, + proposal.title, + 'https://dwsim.fossee.in/nccps-2018/accounts/login/' + 'https://dwsim.fossee.in/nccps-2018/#registration',) elif proposal.proposal_type == 'WORKSHOP': subject = "NCCPS 2018 - Workshop Proposal Rejected" @@ -780,11 +764,15 @@ We strongly suggest that you try to plan your workshops carefully and focus on d sender_email = TO_EMAIL to = (proposal.user.email, TO_EMAIL) if proposal.proposal_type == 'PAPER': - subject = "NCCPS 2018 - Talk Proposal Rejected" + subject = "NCCPS 2018 - Paper Proposal Rejected" message = """Dear """+proposal.user.first_name+""", - Thank you for your submission to the conference. Unfortunately, due to the large number of excellent talks that were submitted, your talk was not selected. We hope you are not discouraged and request you to kindly attend the conference and participate. We have an excellent line up of workshops (8 in total) and many excellent talks. You may also wish to give a lightning talk (a short 5 minute talk) at the conference if you so desire. - We look forward to your active participation in the conference. - \n\nThank You ! \n\nRegards,\nNCCPS 2018,\nFOSSEE - IIT Bombay""" + We are thankful for your submission and patience. + We regret to inform you that your paper titled """ +proposal.title+""" is not selected for NCCPS-2018. Please check the feedback of reviewers by logging in at + You are welcome to attend the conference. Please register at http://dwsim.fossee.in/nccps-2018/ + \n\nThank You ! \n\nRegards,\nNCCPS 2018,\nFOSSEE - IIT Bombay""".format( + proposal.user.first_name, + proposal.title, + ) # message = """Dear """+proposal.user.first_name+""", # Your talk was rejected because the contents of your work (your report for example) were entirely plagiarized. This is unacceptable and this amounts to severe academic malpractice and misconduct. As such we do not encourage this at any level whatsoever. We strongly suggest that you change your ways. You should NEVER EVER copy paste any content, no matter where you see it. Even if you cite the place where you lifted material from, it is not acceptable to copy anything verbatim. Always write in your own words. Your own personal integrity is much more important than a publication. When giving a tutorial it is understandable that you may use material that someone else has made if you acknowledge this correctly and with their full knowledge. However, the expectation is that you have done something yourself too. In your case a bulk of the work seems plagiarized and even if your talk material is your own, your act of plagiarizing content for your report is unacceptable to us. |