From 3c006b47192bf6b4bd6ee9719f89b49fe8dfe384 Mon Sep 17 00:00:00 2001 From: Jorran de Wit <jorrandewit@outlook.com> Date: Tue, 10 Oct 2017 16:50:44 +0200 Subject: [PATCH] Remove old email templates --- partners/utils.py | 20 ------- .../email/email_prospartner_contact.html | 52 ------------------- templates/email/email_prospartner_contact.txt | 33 ------------ 3 files changed, 105 deletions(-) delete mode 100644 templates/email/email_prospartner_contact.html delete mode 100644 templates/email/email_prospartner_contact.txt diff --git a/partners/utils.py b/partners/utils.py index 2d5241c44..809d580e4 100644 --- a/partners/utils.py +++ b/partners/utils.py @@ -5,26 +5,6 @@ class PartnerUtils(BaseMailUtil): mail_sender = 'partners@scipost.org' mail_sender_title = 'SciPost Supporting Partners' - @classmethod - def email_prospartner_contact(cls): - """ - Email a contact of a ProspectivePartner, - for example to establish a first contact - and invite participation to the Supporting Partners Board. - """ - cls._send_mail(cls, 'email_prospartner_contact', - [cls._context['contact'].email], - cls._context['email_subject']) - - @classmethod - def email_prospartner_generic(cls): - """ - Email a generic address for a ProspectivePartner - for which no Contact could be defined. - """ - cls._send_mail(cls, 'email_prospartner_contact', - [cls._context['email']], - cls._context['email_subject']) @classmethod def email_contact_new_for_activation(cls, current_user): diff --git a/templates/email/email_prospartner_contact.html b/templates/email/email_prospartner_contact.html deleted file mode 100644 index 2d68fdbbb..000000000 --- a/templates/email/email_prospartner_contact.html +++ /dev/null @@ -1,52 +0,0 @@ -{% load staticfiles %} -{% if contact %} -<p>Dear {{ contact.get_title_display }} {{ contact.last_name }},</p> -{% else %} -<p>Dear colleagues,</p> -{% endif %} -{% if message %} -<p> - {{ message|linebreaks }} -</p> -{% endif %} -{% if include_SPB_summary %} -<p> - You might by now have heard of SciPost, a recently-launched initiative aiming to bring disruptive change to current academic publishing practices. -</p> -<p> - In summary, SciPost is a publication portal managed by professional scientists, offering (among others) high-quality Open Access journals with innovative forms of refereeing, and a means of commenting on all existing literature. SciPost is established as a not-for-profit foundation devoted to serving the interests of the international scientific community. -</p> -<p> - The site is anchored at <a href="https://scipost.org">SciPost.org</a>. Many further details about SciPost, its principles, ideals and implementation can be found on the <a href="https://scipost.org/about">about</a> and <a href="https://scipost.org/FAQ">FAQ</a> pages. -</p> -<p> - Crucially, as explained on our <a href="https://scipost.org/partners">Partners page</a>, SciPost follows a completely different funding model than traditional publishers, and provides a cost-slashing alternative to existing platforms. SciPost charges neither subscription fees, nor article processing charges; its activities are instead to be collectively financed through a Supporting Partners Board, formed by a worldwide consortium of institutions and organizations which directly or indirectly benefit from SciPost’s activities. -</p> -<p> - Support takes the form of a small financial commitment, collectively pooled to enable SciPost to perform all its publication-related activities, maintain its online portal and implement its long-term development plan. -</p> -<p> - In the <a href="https://scipost.org{% static 'scipost/SPB/SciPost_Supporting_Partner_Agreement.pdf' %}">agreement template</a>, you will find many more specific details about our operations, requirements and funding strategy. I would greatly appreciate if you took a few minutes to read through this document. -</p> -<p> - It would be a privilege to welcome you as members of our Supporting Partners Board. I am hereby contacting you to enquire whether your institution would consider joining. Your support at this time is crucially required to make our initiative sustainable, and to help make it possible for the community to reap all the benefits deriving form its viable implementation. -</p> -<p> -I will be happy to provide any required further details. If you are interested, you can simply get in touch via this address (<a href="mailto:partners@scipost.org">partners@scipost.org</a>). I sincerely hope that SciPost will be able to count on your support. -</p> -<p>On behalf of the SciPost Foundation,</p> -Prof. dr Jean-Sébastien Caux -<br/> -<br/><a href="mailto:J.S.Caux@uva.nl">J.S.Caux@uva.nl</a> -<br/><a href="http://jscaux.org">jscaux.org</a> -<br/>--------------------------------------------- -<br/>Institute for Theoretical Physics -<br/>University of Amsterdam -<br/>Science Park 904 -<br/>1098 XH Amsterdam -<br/>The Netherlands -<br/>--------------------------------------------- -<br/>tel.: +31 (0)20 5255775 -<br/>fax: +31 (0)20 5255778 -<br/>--------------------------------------------- -{% endif %} diff --git a/templates/email/email_prospartner_contact.txt b/templates/email/email_prospartner_contact.txt deleted file mode 100644 index 5f0455f8b..000000000 --- a/templates/email/email_prospartner_contact.txt +++ /dev/null @@ -1,33 +0,0 @@ -{% if contact %} -Dear {{ contact.get_title_display }} {{ contact.last_name }}, \n\n -{% else %} -Dear colleagues, \n\n -{% endif %} -{% if message %}{{ message }}{% endif %} -{% if include_SPB_summary %} -You might by now have heard of SciPost, a recently-launched initiative aiming to bring disruptive change to current academic publishing practices. -\n\nIn summary, SciPost is a publication portal managed by professional scientists, offering (among others) high-quality Open Access journals with innovative forms of refereeing, and a means of commenting on all existing literature. SciPost is established as a not-for-profit foundation devoted to serving the interests of the international scientific community. -\n\nThe site is anchored at https://scipost.org. Many further details about SciPost, its principles, ideals and implementation can be found at https://scipost.org/about and https://scipost.org/FAQ. - -\n\nCrucially, as explained on our Partners page at https://scipost.org/partners, SciPost follows a completely different funding model than traditional publishers, and provides a cost-slashing alternative to existing platforms. SciPost charges neither subscription fees, nor article processing charges; its activities are instead to be collectively financed through a Supporting Partners Board, formed by a worldwide consortium of institutions and organizations which directly or indirectly benefit from SciPost’s activities. - -\n\nSupport takes the form of a small financial commitment, collectively pooled to enable SciPost to perform all its publication-related activities, maintain its online portal and implement its long-term development plan. - -\n\nIn the agreement template, which you can find online at https://scipost.org/static/scipost/SPB/SciPost_Supporting_Partner_Agreement.pdf, you will find many more specific details about our operations, requirements and funding strategy. I would greatly appreciate if you took a few minutes to read through this document. - -\n\nIt would be a privilege to welcome you as members of our Supporting Partners Board. I am hereby contacting you to enquire whether your institution would consider joining. Your support at this time is crucially required to make our initiative sustainable, and to help make it possible for the community to reap all the benefits deriving form its viable implementation. - -\n\nI will be happy to provide any required further details. If you are interested, you can simply get in touch via this address (partners@scipost.org). I sincerely hope that SciPost will be able to count on your support. - -\n\nOn behalf of the SciPost Foundation, -\nProf. dr Jean-Sébastien Caux -\n\nJ.S.Caux@uva.nl -\nhttp://jscaux.org -\n--------------------------------------------- -\nInstitute for Theoretical Physics\nUniversity of Amsterdam -\nScience Park 904\n1098 XH Amsterdam\nThe Netherlands -\n--------------------------------------------- -\ntel.: +31 (0)20 5255775\nfax: +31 (0)20 5255778 -\n--------------------------------------------- - -{% endif %} -- GitLab