diff --git a/comments/templates/comments/_add_comment_form.html b/comments/templates/comments/_add_comment_form.html index ac4a6b8c1e9d482d8a08e01f1ad3fed8c59f708e..3a02aca5239ab9357756b563bca58cbb468351bb 100644 --- a/comments/templates/comments/_add_comment_form.html +++ b/comments/templates/comments/_add_comment_form.html @@ -53,7 +53,7 @@ <div class="row"> <div class="col-12"> <input type="submit" name="submit" value="Submit your Comment for vetting" class="btn btn-primary" id="submit-id-submit"> - <p class="mt-2" id="goodCommenter"><i>By clicking on Submit, you agree with the <a target="_blank" href="{% url 'scipost:terms_and_conditions' %}">Terms and Conditions</a>.</i></p> + <p class="mt-2" id="goodCommenter"><i>By clicking on Submit, you agree with the <a target="_blank" href="{% url 'scipost:terms_and_conditions' %}">Terms and Conditions</a>, in particular that <span class="text-danger">your identity will be attached to the Comment</span>.</i></p> </div> </div> </form> diff --git a/comments/templates/comments/new_comment.html b/comments/templates/comments/new_comment.html index 59865219786dc0e0b42e2a3fdd89f16136815881..f0470b100f6328b3c92f161ca597155fc7ad46f2 100644 --- a/comments/templates/comments/new_comment.html +++ b/comments/templates/comments/new_comment.html @@ -4,7 +4,7 @@ <hr> -<h2 class="highlight" id="contribute_comment">Contribute a Comment:</h2> +<h2 class="highlight" id="contribute_comment">Contribute a Comment: {% if user_is_referee and submission %} <small class="text-danger">you are an invited referee, please <a href="{% url 'submissions:submit_report' submission.arxiv_identifier_w_vn_nr %}">submit a Report</a> instead</small>{% endif %}</h2> {% url 'comments:new_comment' object_id=object_id type_of_object=type_of_object as url %} {% include 'comments/_add_comment_form.html' with form=form url=url %} diff --git a/finances/views.py b/finances/views.py index 33200e7c2eb3a10a9c2b6f905960d0cb497583f9..649259a247f5feddb003dabfff9fae60aa02486f 100644 --- a/finances/views.py +++ b/finances/views.py @@ -1,5 +1,6 @@ from django.contrib import messages from django.contrib.auth.decorators import permission_required +from django.contrib.auth.mixins import LoginRequiredMixin from django.http import Http404 from django.shortcuts import render from django.views.generic.edit import DeleteView @@ -25,7 +26,7 @@ def timesheets(request): return render(request, 'finances/timesheets.html', context) -class LogDeleteView(DeleteView): +class LogDeleteView(LoginRequiredMixin, DeleteView): model = WorkLog def get_object(self): diff --git a/journals/templates/journals/SciPostPhysLectNotes_about.html b/journals/templates/journals/SciPostPhysLectNotes_about.html new file mode 100644 index 0000000000000000000000000000000000000000..597ecc145ff68a4b5b9e9e0bf481753140209316 --- /dev/null +++ b/journals/templates/journals/SciPostPhysLectNotes_about.html @@ -0,0 +1,73 @@ + +{% extends 'journals/_base.html' %} + +{% block pagetitle %}{{block.super}}: About{% endblock pagetitle %} + +{% block link_class_physics_about %}active{% endblock %} + +{% block breadcrumb_items %} + {{block.super}} + <a href="{% url 'journal:issues' journal.doi_label %}" class="breadcrumb-item">SciPost Physics Lecture Notes</a> + <span class="breadcrumb-item active">About</span> +{% endblock %} + +{% block content %} + + {% with header_text='About SciPost Physics Lecture Notes' %} + {{block.super}} + {% endwith %} + + <div class="row"> + <div class="col-md-6"> + <h2>Aims</h2> + <p>SciPost Physics Lecture Notes is a premium-quality, two-way open access, peer-witnessed refereed Journal for didactic material in the general field of Physics.</p> + <p>It aims at providing scientists with a publishing platform in which uncompromising scientific quality meets the highest achievable standards of open accessibility, with a resolutely international outlook.</p> + <p><em>Two-way open access</em> means free for readers, free for authors: there are no subscription or download costs, and authors are freed from dealing with article submission and/or processing charges.</p> + <p>The <em>peer-witnessed refereeing</em> process guarantees high-quality, responsible refereeing, with demonstrably greater utility for authors and recognition for referees.</p> + </div> + <div class="col-md-6"> + <h2>Scope</h2> + <p>SciPost Physics Lecture Notes publishes outstanding-quality didactic material in the domains of Experimental, Theoretical and Computational physics, among which:</p> + <ul> + <li>Atomic, Molecular and Optical Physics</li> + <li>Biophysics</li> + <li>Condensed Matter Physics</li> + <li>Fluid Dynamics</li> + <li>Gravitation</li> + <li>Cosmology and Astroparticle Physics</li> + <li>High-Energy Physics</li> + <li>Mathematical Physics</li> + <li>Nuclear Physics</li> + <li>Quantum Statistical Mechanics</li> + <li>Statistical and Soft Matter Physics</li> + </ul> + </div> + </div> + + <div class="row"> + <div class="col-md-6"> + <h2>Content</h2> + <p>The journal accepts Lecture Notes of different levels: + <ul> + <li><strong>Research</strong>-level content is meant for advanced material of interest and importance to current research.</li> + <li><strong>Graduate</strong>-level content is targeted at MSc and PhD caliber readers.</li> + <li><strong>Undergraduate</strong>-level content is meant for more introductory material.</li> + </ul> +.</p> + </div> + <div class="col-md-6"> + <h2>Submission and Editorial Process</h2> + <p>Authors should follow the <a href="{% url 'submissions:author_guidelines' %}">submission guidelines</a> to ensure seamless processing of their manuscript. The <a href="{% url 'journals:journals_terms_and_conditions' %}">SciPost Journals Terms and Conditions</a> apply to all Submissions to SciPost Physics Lecture Notes.</p> + <p>All incoming Submissions are checked for plagiarism and follow the peer-witnessed refereeing procedures outlined in <a href="{% url 'submissions:sub_and_ref_procedure' %}">Submission and Refereeing procedure</a>.</p> + <p>All publication decisions are taken by the <a href="{% url 'scipost:about' %}#editorial_college_physics">Editorial College (Physics)</a>, following the rules set out in the <a href="{% url 'scipost:EdCol_by-laws' %}">Editorial College by-laws</a>.</p> + </div> + </div> + + <div class="row"> + <div class="col-12"> + <h2>Publication: Open Access</h2> + <p>Publications in SciPost Physics Lecture Notes are published under the terms of the <a href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International (CC BY 4.0) License</a>, allowing freedom to use, reproduce and distribute the articles and related content (unless otherwise noted), for commercial and noncommercial purposes, subject to the citation of the original source.</p> + </div> + </div> + +{% endblock %} diff --git a/journals/templates/journals/SciPostPhysLectNotes_info_for_authors.html b/journals/templates/journals/SciPostPhysLectNotes_info_for_authors.html new file mode 100644 index 0000000000000000000000000000000000000000..9c2cef53b3b5fc98b7e93bf7f8196b100445328a --- /dev/null +++ b/journals/templates/journals/SciPostPhysLectNotes_info_for_authors.html @@ -0,0 +1,42 @@ + +{% extends 'journals/_base.html' %} + +{% block pagetitle %}{{block.super}}: Info for Authors{% endblock pagetitle %} + +{% block link_class_physics_info %}active{% endblock %} + +{% block breadcrumb_items %} + {{block.super}} + <a href="{% url 'journal:issues' journal.doi_label %}" class="breadcrumb-item">SciPost Physics Lecture Notes</a> + <span class="breadcrumb-item active">Info for Authors</span> +{% endblock %} + +{% block content %} + + {% with header_text='Information for Authors' %} + {{block.super}} + {% endwith %} + + <div class="row"> + <div class="col-12"> + <h3>Manuscript preparation</h3> + <ul> + <li>Please follow the <a href="{% url 'submissions:author_guidelines' %}">Author guidelines</a> to ensure seamless processing of your manuscript.</li> + </ul> + + <h3>Submission and Refereeing</h3> + <ul> + <li>Make sure you have read and agree with the <a href="{% url 'journals:journals_terms_and_conditions' %}">SciPost Journals Terms and Conditions.</a></li> + <li>All Submissions to SciPost Physics Lecture Notes follow the peer-witnessed refereeing procedures outlined in + <a href="{% url 'submissions:sub_and_ref_procedure' %}">Submission and Refereeing procedure</a>. + </li> + </ul> + + <h3>Decision</h3> + <ul> + <li>All publication decisions are taken by the <a href="{% url 'scipost:about' %}#editorial_college_physics">Editorial College (Physics)</a>, following the rules set out in the <a href="{% url 'scipost:EdCol_by-laws' %}">Editorial College by-laws</a>.</li> + </ul> + </div> + </div> + +{% endblock %} diff --git a/journals/templates/journals/_base.html b/journals/templates/journals/_base.html index 8785ab8e8955c9eebff429701c714a4cf8afaa3f..7dc0f9ba3fffc13d8171da648fb5bb50fed064ea 100644 --- a/journals/templates/journals/_base.html +++ b/journals/templates/journals/_base.html @@ -53,6 +53,7 @@ <p>{{journal}} is published by the SciPost Foundation under the journal doi: 10.21468/{{journal.name}} and ISSN {{journal.issn}}.</p> {% endif %} {% if journal.doi_label == 'SciPostPhys' %} + <p>SciPost Physics has been awarded the DOAJ Seal <img src="{% static 'scipost/images/DOAJ_Seal_logo_big.png' %}" alt="DOAJ Seal" width="40"> from the <a href="https://doaj.org">Directory of Open Access Journals</a></p> <p class="mb-0">All content in {{ journal }} is deposited and permanently preserved in the CLOCKSS archive <a href="https://www.clockss.org/clockss/Home" target="_blank"><img src="{% static 'scipost/images/clockss_original_logo_boxed_ai-cropped-90.png' %}" alt="CLOCKSS logo" width="40"></a></p> {% endif %} </div> diff --git a/journals/templates/journals/journals.html b/journals/templates/journals/journals.html index 1c5bd9fd8ceccb39c701bff188943518bd3b8d61..22541c9442cb8da12bcd4ec2299a063d9f462ca9 100644 --- a/journals/templates/journals/journals.html +++ b/journals/templates/journals/journals.html @@ -48,7 +48,7 @@ <a href="{% url 'journal:about' 'SciPostPhysProc' %}">SciPost Physics Proceedings</a> </h1> <div class="py-2"> - <h3 class="d-inline-block text-danger mb-2"><b>New!</b> <a href="{% url 'journal:about' 'SciPostPhysProc' %}">Go directly to SciPost Physics Proceedings</a></h3> + <h3 class="d-inline-block text-danger mb-2"><a href="{% url 'journal:about' 'SciPostPhysProc' %}">Go directly to SciPost Physics Proceedings</a></h3> <p>SciPost Physics Proceedings is a premium-quality, two-way open access, peer-witnessed refereed Journal for the general field of Physics.</p> <p>It aims at providing a high-quality, openly accessible publishing venue for conference/workshop/school proceedings.</p> <p>SciPost Physics Proceedings publishes articles in the domains of Experimental, Theoretical and Computational physics, in all specializations.</p> @@ -63,14 +63,12 @@ <div class="py-2"> <p>SciPost Physics Select publishes articles of superlative quality in the field of Physics.</p> <p>Authors cannot submit directly to this Journal; SPS papers are editorially selected from the most outstanding Submissions to SciPost Physics.</p> - <p style="color: red;"><em>Coming soon!</em></p> </div> </div> <div class="col-md-6"> <h1 class="banner">SciPost Physics Lecture Notes</h1> <div class="py-2"> <p>Research-level didactic material in all domains and subject areas of Physics.</p> - <p style="color: red;">Open for submission!</p> </div> </div> </div> diff --git a/mailing_lists/views.py b/mailing_lists/views.py index bc9061644e419b1eabe1a20086a41714f0df28e4..07792fff8517e31ac61e744087daeb4fec78637b 100644 --- a/mailing_lists/views.py +++ b/mailing_lists/views.py @@ -51,7 +51,7 @@ def export_non_registered_invitations(request): Syncronize the Mailchimp lists in the database with the lists known in the mailchimp account which is related to the API_KEY. """ - invitations = RegistrationInvitation.objects.declined() + invitations = RegistrationInvitation.objects.declined_or_without_response() response = HttpResponse(content_type='text/csv') filename = "export_{timestamp}_non_registered_invitations.csv".format(timestamp='') diff --git a/mails/templates/mail_templates/partners_followup_mail.html b/mails/templates/mail_templates/partners_followup_mail.html index bceea0343f05111cff171992dfa23f7d7b36dab7..cea1dce97c43ceafa3ea6039a435a207799f9277 100644 --- a/mails/templates/mail_templates/partners_followup_mail.html +++ b/mails/templates/mail_templates/partners_followup_mail.html @@ -1,5 +1,5 @@ <p> - Dear {{ contact.get_title_display }} {{ contact.last_name }}, + Dear {% if contact %}{{ contact.get_title_display }} {{ contact.last_name }}{% else %}colleagues{% endif %}, </p> <p> diff --git a/mails/templates/mail_templates/partners_initial_mail.html b/mails/templates/mail_templates/partners_initial_mail.html index 2645aa22ef54378ad35d1cce071ab9a60139fa54..97683fed31ac84a67f8afd649b53dc54966103ba 100644 --- a/mails/templates/mail_templates/partners_initial_mail.html +++ b/mails/templates/mail_templates/partners_initial_mail.html @@ -1,5 +1,5 @@ <p> - Dear {{ contact.get_title_display }} {{ contact.last_name }}, + Dear {% if contact %}{{ contact.get_title_display }} {{ contact.last_name }}{% else %}colleagues{% endif %}, </p> <p> diff --git a/production/constants.py b/production/constants.py index 8c7f309dc63976aa7c03dca48b7b41fc61380a3f..7591a21c21a72e9b40ac8c5fd54c48855b6f3f25 100644 --- a/production/constants.py +++ b/production/constants.py @@ -49,9 +49,16 @@ PROOFS_STATUSES = ( ) PRODUCTION_OFFICERS_WORK_LOG_TYPES = ( - ('Production: Production Officer tasks', 'Production Officer tasks'), + ('Production: Proofs have been produced', 'Proofs have been produced'), + ('Production: Corrections implemented', 'Corrections implemented'), + ('Production: Cited people have been notified/invited to SciPost', + 'Cited people have been notified/invited to SciPost'), ) PRODUCTION_ALL_WORK_LOG_TYPES = ( - ('Production: Supervisory tasks', 'Supervisory tasks'), - ('Production: Production Officer tasks', 'Production Officer tasks'), + ('Production: Proofs have been produced', 'Proofs have been produced'), + ('Production: Corrections implemented', 'Corrections implemented'), + ('Production: Paper has been published', 'Paper has been published'), + ('Maintaince: Metadata has been updated', 'Metadata has been updated'), + ('Production: Cited people have been notified/invited to SciPost', + 'Cited people have been notified/invited to SciPost'), ) diff --git a/scipost/managers.py b/scipost/managers.py index 788aecb9a7773c31236423938c52945692f5fc1c..3ccbe039f795d54634463f869ff292e78bbb3780 100644 --- a/scipost/managers.py +++ b/scipost/managers.py @@ -44,6 +44,9 @@ class RegistrationInvitationManager(models.Manager): def declined(self): return self.filter(responded=True, declined=True) + def declined_or_without_response(self): + return self.filter(Q(responded=True, declined=True) | Q(responded=False)) + class UnavailabilityPeriodManager(models.Manager): def today(self): diff --git a/scipost/static/scipost/images/DOAJ_Seal_logo_big.png b/scipost/static/scipost/images/DOAJ_Seal_logo_big.png new file mode 100644 index 0000000000000000000000000000000000000000..0155523e0d59a098f590462db905d5d754158312 Binary files /dev/null and b/scipost/static/scipost/images/DOAJ_Seal_logo_big.png differ diff --git a/scipost/templates/scipost/FAQ.html b/scipost/templates/scipost/FAQ.html index 2ea3aab198538ac2c82a4b5ab38e51235ad1331d..5b1f2162d831c028e2c37fb2fc2aafd49fd75f1b 100644 --- a/scipost/templates/scipost/FAQ.html +++ b/scipost/templates/scipost/FAQ.html @@ -1,5 +1,7 @@ {% extends 'scipost/base.html' %} +{% load staticfiles %} + {% block pagetitle %}: Frequently asked questions{% endblock pagetitle %} @@ -37,13 +39,13 @@ <h3>Which Journals does SciPost publish?</h3> </a> <div id="journals_journals" class="collapse" role="tabpanel"> - <p>In the startup phase, two Journals are being offered:</p> + <p>The following Journals are currently being offered:</p> <ul> <li>SciPost Physics</li> <li>SciPost Physics Lecture Notes</li> + <li>SciPost Physics Proceedings</li> </ul> - <p>Both Journals cover all domains and subject areas within the field of Physics.</p> - <p>SciPost Physics Select, the editorially-selected highlights Journal, will be introduced in the near future.</p> + <p>These Journals cover all domains and subject areas within the field of Physics.</p> </div> </div> @@ -116,7 +118,9 @@ <h3>Will SciPost papers be listed in citation databases?</h3> </a> <div id="journals_cite_db" class="collapse" role="journals_cite_db"> - <p>Inclusion in standard citation databases can be applied for once the Journals have been operating for a short while (at least 3 months). Past experience with other new journals shows that listing typically occurs within a year of launch. Search engine-based listings are expected to pick our Journals up on a shorter timescale.</p> + <p>SciPost Physics is listed in <a href="http://wokinfo.com/prod= +ucts_tools/multidisciplinary/esci/">ESCI</a> (part of Web of Science's Core Collection), in Google Scholar and in INSPIRE.</p> + <p>SciPost is an active participant in the <a href="https://i4oc.org">Initiative for Open Citations</a> (I4OC), aiming to make all citation metadata publicly available, thereby opening up a future in which a much more diverse citation metrics landscape will be accessible.</p> </div> </div> @@ -143,8 +147,7 @@ <h3>Will my papers always be available?</h3> </a> <div id="journals_availability" class="collapse" role="journals_availability"> - <p>Yes. SciPost is here to stay, and authors should not worry that their SciPost publications could potentially disappear. - SciPost has institutional backing guaranteeing perpetuity of access to its journals database.</p> + <p>Yes. SciPost is here to stay, and authors should not worry that their SciPost publications could potentially disappear. In any case, all our publications are preserved in the <a href="https://clockss.org">CLOCKSS</a>, an industry-wide standard professional-level archiving system. As long as the Web exists, our publications will be accessible, even if the Netherlands get flooded.</p> </div> </div> @@ -233,7 +236,7 @@ </a> <div id="commentaries_privacy" class="collapse" role="tabpanel"> <p>Comments posted on SciPost carry an identifier including the Contributor's full name.</p> - <p>Reports on Submissions are anonymous by default. If the Contributor providing the Report wishes it, anonymity can be waived.</p> + <p>Reports on Submissions are anonymous by default. If the Contributor providing the Report wishes it, anonymity can be waived. Though we do not force it, we do encourage our Referees to sign their Reports.</p> <p>More details can be found in our <a href="{% url 'scipost:privacy_policy' %}">Privacy Policy</a>.</p> </div> </div> @@ -269,7 +272,7 @@ </a> <div id="scipost_fields" class="collapse" role="tabpanel"> <p>The initial rollout of SciPost offers a Physics portal.</p> - <p>Portals in other disciplines will be opened if the SciPost model proves to be successful.</p> + <p>Portals in other disciplines will be opened if the SciPost model proves to be successful, and when a sufficient number of <a href="{% url 'partners:partners' %}">Supporting Partners</a> have been signed up.</p> </div> </div> @@ -287,8 +290,9 @@ <h3>How is SciPost funded?</h3> </a> <div id="scipost_funded" class="collapse" role="tabpanel"> - <p>SciPost operates non-commercially, incurring minimal costs. Contributors, who are by definition all academically employed, provide all the content and perform all editorial tasks as part of their normal institutional academic duties. Operations are kept running by a team of volunteer officers, themselves academically employed.</p> - <p>Support for operational costs is initially provided by the <a target="_blank" href="http://www.nwo.nl/en">NWO</a> in the Netherlands. Long-term operations will be financed by donations from national funding agencies, universities, societies, foundations and individuals. If you are interested in financially supporting SciPost, <a href="mailto:jscaux@scipost.org">contact us</a>.</p> + <p>SciPost operates non-commercially and purely not-for-profit, incurring minimal costs. Contributors, who are by definition all academically employed, provide all the content and perform all editorial tasks as part of their normal institutional academic duties. Operations are kept running by a team of volunteer officers, themselves academically employed.</p> + <p>The startup phase was supported by a grant from the <a target="_blank" href="http://www.nwo.nl/en">NWO</a> in the Netherlands. Long-term operations will be financed by donations from national funding agencies, universities, societies, foundations and individuals. More information on our cost-slashing consortial scheme can be found on our <a href="{% url 'partners:partners' %}">partners page</a>. Librarians can have a look at our <a href="{% static 'scipost/SPB/SciPost_Supporting_Partners_Board_Prospectus.pdf' %}">one-page Prospectus</a>. Detailed information for prospective Partners can be found in the draft <a href="{% static 'scipost/SPB/SciPost_Supporting_Partner_Agreement.pdf' %}">Partner Agreement</a>. If you are interested in financially supporting SciPost, <a href="mailto:partners@scipost.org">contact us</a> to get further details. + </p> </div> </div> </div> diff --git a/scipost/templatetags/scipost_extras.py b/scipost/templatetags/scipost_extras.py index ed9aaebcbce23e8b509aaaf3042a31d11b9de8f6..567bbb642ddddcf99221efdbb6cd3357f89b5dd9 100644 --- a/scipost/templatetags/scipost_extras.py +++ b/scipost/templatetags/scipost_extras.py @@ -19,10 +19,12 @@ def sort_by(queryset, order): @register.filter(name='duration') def duration(dur): - total_seconds = int(dur.total_seconds()) - hours = total_seconds // 3600 - minutes = (total_seconds % 3600) // 60 - return '{}h {}m'.format(hours, minutes) + if dur: + total_seconds = int(dur.total_seconds()) + hours = total_seconds // 3600 + minutes = (total_seconds % 3600) // 60 + return '{}h {}m'.format(hours, minutes) + return '0h 0m' ####################### diff --git a/scipost/utils.py b/scipost/utils.py index 9730400f0dcb6c5a004ac9644d57d1ac073ee17a..8c95c5ddc109f882dba1f4052172eaedfce83fe2 100644 --- a/scipost/utils.py +++ b/scipost/utils.py @@ -449,123 +449,90 @@ class Utils(BaseMailUtil): emailmessage.attach_alternative(html_version, 'text/html') elif cls.invitation.invitation_type == 'F': - email_text += ('You will have noticed that scientific publishing is currently ' - 'undergoing many changes, and you will hopefully agree that it is of ' - 'the utmost importance that the best interests of science and scientists ' - 'be served by these developments. After much thinking and discussion ' - 'about this issue, I recently decided to forge ahead and develop a new ' - 'online publication portal by and for scientists, aimed at turning ' - 'these ideas into reality.' - '\n\nThe initiative, called SciPost, aims to build on the best traditions ' - 'within our community (as exemplified by the arXiv.org preprint server) by ' - 'offering a complete scientific publication platform, run by and for ' - 'professional scientists, providing:\n\n' - '- a means to comment on all existing literature;\n\n' - '- a repository of links to theses (Habilitation, PhD, Master\'s);\n\n' - '- and, most importantly, a collection of community-run two-way open ' - 'access (no subscription fees, no author fees) journals with extremely ' - 'stringent (peer-witnessed) refereeing.\n\n' - 'For the Journals, the main innovations are thus a redesigned, more ' - 'accountable refereeing process, together with a new concept for the ' - 'editorial process, based on our Editorial College (exclusively composed ' - 'of established, professionally practising scientists), designed to ' - 'ensure the highest achievable scientific quality while minimizing the ' - 'burden of the editorial workflow.\n\n' - 'SciPost.org is legally based on a not-for-profit foundation and will ' - 'operate in perpetuity as a non-commercial entity at the exclusive service ' - 'of the academic sector. ' - 'The online portal is now operational, and we are currently busy ' - 'publicizing it and broadening its user base. \n\n' - 'To go straight to the point, on behalf of the foundation ' - 'and in view of your professional expertise, I hereby would ' - 'like to invite you to become an Editorial Fellow and thus join the ' - 'Editorial College of SciPost Physics.\n\n' - 'Please note that only well-known and respected senior academics are ' - 'being contacted for this purpose. Academic reputation and involvement ' - 'in the community are the most important criteria guiding our ' - 'considerations of who should belong to the Editorial College. We ' - 'envision each subfield of physics to be represented by around a dozen ' - 'Editorial Fellows.\n\n' - 'To help you in considering this, it would be best if you were to take ' - 'the time to look at the website itself, which is anchored at scipost.org. ' - 'Registration is now generally open, but you can also personally register ' - '(to become a Contributor, without necessarily committing to membership ' - 'of the Editorial College, this to be discussed separately) by visiting ' - 'the following single-use link, containing a partly pre-filled form for ' - 'your convenience: \n\n' - 'https://scipost.org/invitation/' + cls.invitation.invitation_key + '\n\n' - 'I will then activate your account. Many details about the initiative ' - 'can then be found at scipost.org/about and at scipost.org/FAQ. ' - 'Functioning of the College will proceed according to the by-laws set ' - 'out in scipost.org/EdCol_by-laws.\n\n' - 'Since the success of this initiative is dependent on the involvement of ' - 'the very people it is meant to serve, we\'d be very grateful if you were ' - 'to give due consideration to this proposal. We would expect you to ' - 'commit just 2-4 hours per month to help perform Editorial duties; we will ' - 'adjust the number of Editorial Fellows to ensure this is the case. You ' - 'could try it out for 6 months or a year, and of course you could quit ' - 'any time you wished. We\'d be even more grateful if you considered ' - 'submitting a publication to one of the journals, in order to help ' - 'establish their reputation.\n\n' - 'I\'d be happy to provide you with more information, should you require ' - 'it. In view of our development plans, I would be grateful if you could ' - 'react (by replying to this email) within the next two or three weeks, ' - 'if possible. I\'ll be looking forward to your reaction, your comments ' - 'and suggestions, be they positive or negative. If you need more time ' - 'to consider, that\'s also fine; just let me know.\n\n' - 'On behalf of the SciPost Foundation,\n\n' - 'Prof. dr Jean-Sébastien Caux\n---------------------------------------------' - '\nInstitute for Theoretial Physics\nUniversity of Amsterdam' - '\nScience Park 904\n1098 XH Amsterdam\nThe Netherlands' - '\n---------------------------------------------\n' - 'tel.: +31 (0)20 5255775\nfax: +31 (0)20 5255778' - '\n---------------------------------------------') - email_text_html += ( - '\n<p>You will have noticed that scientific publishing is currently ' - 'undergoing many changes, and you will hopefully agree that it is of ' - 'the utmost importance that the best interests of science and scientists ' - 'be served by these developments. After much thinking and discussion ' - 'about this issue, I recently decided to forge ahead and develop a new ' - 'online publication portal by and for scientists, aimed at turning ' - 'these ideas into reality.</p>' - '\n<p>The initiative, called SciPost, aims to build on the best traditions ' - 'within our community (as exemplified by the arXiv.org preprint server) by ' - 'offering a complete scientific publication platform, run by and for ' - 'professional scientists, providing:</p>' - '\n<ul><li>a means to comment on all existing literature;</li>' - '<li>a repository of links to theses (Habilitation, PhD, Master\'s);</li>' - '<li>and, most importantly, a collection of community-run two-way open ' + email_text += ( + '\nYou will perhaps have already heard about SciPost, a publication ' + 'portal established by and for professional scientists.\n' + '\nSciPost.org is legally based on a not-for-profit foundation and will ' + 'operate in perpetuity as a non-commercial entity at the exclusive service ' + 'of the academic sector, bringing a cost-slashing alternative to existing ' + 'practices.\n' + '\nSciPost offers a collection of two-way open ' 'access (no subscription fees, no author fees) journals with extremely ' - 'stringent (peer-witnessed) refereeing.</li></ul>' - '\n<p>For the Journals, the main innovations are thus a redesigned, more ' - 'accountable refereeing process, together with a new concept for the ' - 'editorial process, based on our Editorial College (exclusively composed ' - 'of established, professionally practising scientists), designed to ' - 'ensure the highest achievable scientific quality while minimizing the ' - 'burden of the editorial workflow.</p>' + 'stringent (peer-witnessed) refereeing, overseen by ' + 'our Editorial College (exclusively composed ' + 'of established, professionally practising scientists). The whole process is ' + 'designed to ensure the highest achievable scientific quality while making the ' + 'editorial workflow as light and efficient as possible.\n' + '\nTo go straight to the point, on behalf of the foundation ' + 'and in view of your professional expertise, I hereby would ' + 'like to invite you to become an Editorial Fellow and thus join the ' + 'Editorial College of SciPost Physics.\n\n' + 'Please note that only well-known and respected senior academics are ' + 'being contacted for this purpose. Academic reputation and involvement ' + 'in the community are the most important criteria guiding our ' + 'considerations of who should belong to the Editorial College.\n' + '\nTo help you in considering this, it would be best if you were to take ' + 'the time to look at the website itself, which is anchored at scipost.org. ' + 'Besides looking around the side, you can also personally register ' + '(to become a Contributor, without necessarily committing to membership ' + 'of the Editorial College, this to be discussed separately) by visiting ' + 'the following single-use link, containing a partly pre-filled form for ' + 'your convenience: \n\n' + 'https://scipost.org/invitation/' + cls.invitation.invitation_key + '.\n' + '\nMany details about the initiative ' + 'can then be found at scipost.org/about and at scipost.org/FAQ. ' + 'Functioning of the College will proceed according to the by-laws set ' + 'out in scipost.org/EdCol_by-laws.\n\n' + 'Since the success of this initiative is dependent on the involvement of ' + 'the very people it is meant to serve, we\'d be very grateful if you were ' + 'to give due consideration to this proposal. We would expect you to ' + 'commit just 2-4 hours per month to help perform Editorial duties; we will ' + 'adjust the number of Editorial Fellows to ensure this is the case. You ' + 'could try it out for 6 months or a year, and of course you could quit ' + 'any time you wished.\n\n' + 'I\'d be happy to provide you with more information, should you require ' + 'it. In view of our development plans, I would be grateful if you could ' + 'react (by replying to this email) within the next two or three weeks, ' + 'if possible. I\'ll be looking forward to your reaction, your comments ' + 'and suggestions, be they positive or negative. If you need more time ' + 'to consider, that\'s also fine; just let me know.\n\n' + 'On behalf of the SciPost Foundation,\n\n' + 'Prof. dr Jean-Sébastien Caux\n---------------------------------------------' + '\nInstitute for Theoretial Physics\nUniversity of Amsterdam' + '\nScience Park 904\n1098 XH Amsterdam\nThe Netherlands' + '\n---------------------------------------------\n' + 'tel.: +31 (0)20 5255775\nfax: +31 (0)20 5255778' + '\n---------------------------------------------') + email_text_html += ( + '\n<p>You will perhaps have already heard about SciPost, a publication ' + 'portal established by and for professional scientists. ' '\n<p>SciPost.org is legally based on a not-for-profit foundation and will ' 'operate in perpetuity as a non-commercial entity at the exclusive service ' - 'of the academic sector. ' - 'The online portal is now operational, and we are currently busy ' - 'publicizing it and broadening its user base.</p>' - '\n<p>To go straight to the point, on behalf of the foundation ' + 'of the academic sector, bringing a cost-slashing alternative to existing ' + 'practices.</p>' + '<p>SciPost offers a collection of two-way open ' + 'access (no subscription fees, no author fees) journals with extremely ' + 'stringent (peer-witnessed) refereeing, overseen by ' + 'our Editorial College (exclusively composed ' + 'of established, professionally practising scientists). The whole process is ' + 'designed to ensure the highest achievable scientific quality while making the ' + 'editorial workflow as light and efficient as possible.</p>' + '\n<p>To go straight to the point, on behalf of the SciPost Foundation ' 'and in view of your professional expertise, I hereby would ' 'like to invite you to become an Editorial Fellow and thus join the ' 'Editorial College of SciPost Physics.</p>' '\n<p>Please note that only well-known and respected senior academics are ' 'being contacted for this purpose. Academic reputation and involvement ' 'in the community are the most important criteria guiding our ' - 'considerations of who should belong to the Editorial College. We ' - 'envision each subfield of physics to be represented by around a dozen ' - 'Editorial Fellows.</p>' + 'considerations of who should belong to the Editorial College.</p>' '\n<p>To help you in considering this, it would be best if you were to take ' 'the time to look at the website itself, which is anchored at scipost.org. ' - 'Registration is now generally open, but you can also personally register ' + 'Besides looking around the site, you can also personally register ' '(to become a Contributor, without necessarily committing to membership ' 'of the Editorial College, this to be discussed separately) by visiting ' 'the following <a href="https://scipost.org/invitation/{{ invitation_key }}">' 'single-use link</a>, containing a partly pre-filled form for ' - 'your convenience. I will then activate your account.</p>' + 'your convenience.</p>' '\n<p>Many details about the initiative ' 'can then be found at scipost.org/about and at scipost.org/FAQ. ' 'Functioning of the College will proceed according to the by-laws set ' @@ -574,11 +541,9 @@ class Utils(BaseMailUtil): 'the very people it is meant to serve, we\'d be very grateful if you were ' 'to give due consideration to this proposal. We would expect you to ' 'commit just 2-4 hours per month to help perform Editorial duties; we will ' - 'adjust the number of Editorial Fellows to ensure this is the case. You ' + 'constantly adjust the number of Editorial Fellows to ensure this is the case. You ' 'could try it out for 6 months or a year, and of course you could quit ' - 'any time you wished. We\'d be even more grateful if you considered ' - 'submitting a publication to one of the journals, in order to help ' - 'establish their reputation.</p>' + 'any time you wished.</p>' '\n<p>I\'d be happy to provide you with more information, should you require ' 'it. In view of our development plans, I would be grateful if you could ' 'react (by replying to this email) within the next two or three weeks, ' diff --git a/submissions/templates/submissions/submission_detail.html b/submissions/templates/submissions/submission_detail.html index b49b09f69db0e8bdc3e39e3152757a9f4764f038..0010c1e89e760112bcce533f491945214cd63edc 100644 --- a/submissions/templates/submissions/submission_detail.html +++ b/submissions/templates/submissions/submission_detail.html @@ -218,9 +218,9 @@ {# This is an apparent redundant logic block; however, it makes sure the "login to ..." links wouldn't be shown twice! #} {% if not user.is_authenticated and submission.comments.vetted.exists %} - {% include 'comments/new_comment.html' with object_id=submission.id type_of_object='submission' open_for_commenting=submission.open_for_commenting %} + {% include 'comments/new_comment.html' with object_id=submission.id type_of_object='submission' open_for_commenting=submission.open_for_commenting user_is_referee=submission|user_is_referee:request.user %} {% elif user.is_authenticated %} - {% include 'comments/new_comment.html' with object_id=submission.id type_of_object='submission' open_for_commenting=submission.open_for_commenting %} + {% include 'comments/new_comment.html' with object_id=submission.id type_of_object='submission' open_for_commenting=submission.open_for_commenting user_is_referee=submission|user_is_referee:request.user %} {% endif %} {% endblock content %} diff --git a/submissions/templatetags/submissions_extras.py b/submissions/templatetags/submissions_extras.py index c9b1abc8ec9d50d005a60829a77a0e271edcaafe..9cb66171d072b47b057a2a2b6e79817614db882c 100644 --- a/submissions/templatetags/submissions_extras.py +++ b/submissions/templatetags/submissions_extras.py @@ -20,3 +20,7 @@ def is_viewable_by_authors(recommendation): return recommendation.submission.status in ['revision_requested', 'resubmitted', 'accepted', 'rejected', 'published', 'withdrawn'] + +@register.filter +def user_is_referee(submission, user): + return submission.referee_invitations.filter(referee__user=user).exists()