SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 565b10c3 authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Add email for starting Fellowship

parent 705384a7
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,6 @@ ...@@ -38,7 +38,6 @@
<li class="text-danger">N.B.: this potential Fellow is not yet registered as a Contributor</li> <li class="text-danger">N.B.: this potential Fellow is not yet registered as a Contributor</li>
{% else %} {% else %}
<li>Accepted to serve as Fellow but not currently active in a College? <a href="{% url 'colleges:fellowship_create' contributor_id=potfel.profile.contributor.id %}">Set up a Fellowship</a></li> <li>Accepted to serve as Fellow but not currently active in a College? <a href="{% url 'colleges:fellowship_create' contributor_id=potfel.profile.contributor.id %}">Set up a Fellowship</a></li>
<li>Send Fellowship set up email</li>
{% endif %} {% endif %}
</ul> </ul>
......
...@@ -58,6 +58,13 @@ ...@@ -58,6 +58,13 @@
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<div class="adminLinks">
<h3>Admin actions</h3>
<ul>
<li>After initial setup: <a href="{% url 'colleges:fellowship_email_start' pk=fellowship.id %}">send Fellowship start email</a></li>
</ul>
</div>
<h3>All fellowships of this fellow</h3> <h3>All fellowships of this fellow</h3>
<table class="table"> <table class="table">
......
...@@ -44,6 +44,13 @@ urlpatterns = [ ...@@ -44,6 +44,13 @@ urlpatterns = [
views.FellowshipListView.as_view(), views.FellowshipListView.as_view(),
name='fellowships' name='fellowships'
), ),
url(
r'^fellowships/(?P<pk>[0-9]+)/email_start/$',
views.FellowshipStartEmailView.as_view(),
name='fellowship_email_start'
),
url(r'^fellowships/submissions/{regex}/$'.format( url(r'^fellowships/submissions/{regex}/$'.format(
regex=SUBMISSIONS_COMPLETE_REGEX), views.submission_pool, regex=SUBMISSIONS_COMPLETE_REGEX), views.submission_pool,
name='submission'), name='submission'),
......
...@@ -146,6 +146,16 @@ class FellowshipListView(PermissionsMixin, PaginationMixin, ListView): ...@@ -146,6 +146,16 @@ class FellowshipListView(PermissionsMixin, PaginationMixin, ListView):
return context return context
class FellowshipStartEmailView(PermissionsMixin, MailView):
"""
After setting up a new Fellowship, send an info email to the new Fellow.
"""
permission_required = 'scipost.can_manage_college_composition'
queryset = Fellowship.objects.all()
mail_code = 'fellows/email_fellow_fellowship_start'
success_url = reverse_lazy('colleges:fellowships')
@login_required @login_required
@permission_required('scipost.can_manage_college_composition', raise_exception=True) @permission_required('scipost.can_manage_college_composition', raise_exception=True)
def submission_pool(request, identifier_w_vn_nr): def submission_pool(request, identifier_w_vn_nr):
......
<p>Dear {{ object.contributor.get_title_display }} {{ object.contributor.user.last_name }},</p>
<p>Many thanks for accepting to become an Editorial Fellow at SciPost! We wish you a very warm welcome, and very much appreciate your willingness to help out.</p>
<p>Your account has now been given Fellow-level rights, so you now have access to a few additional Fellows-only pages. This email is meant as a quick helper to make sure everything is set up properly, and to help you start finding your way around our systems.</p>
<h3>Making sure your data is correct</h3>
<p>From your <a href="https://scipost.org{% url 'scipost:personal_page' %}">personal page</a>, please have a look at the basic information associated to your account (in particular, your areas of specialization). If necessary, please update the data by following the "Update your personal data" link.</p>
<p>Though we do not require it, we greatly encourage you to use our two-factor authentication setup (see <a a href="https://scipost.org{% url 'scipost:totp' %}">this link</a>) to ensure that your account is robust against hacking attempts.</p>
<h3>Your new Fellows-only pages</h3>
<p>Again on your personal page, you should now see an "Editorial Actions" tab. This contains a number of links relevant to our editorial processes, most importantly to the <a href="https://scipost.org{% url 'submissions:pool' %}">submissions pool</a>, which is the place where all submissions currently under consideration are listed. As a newcomer, this will be more or less empty for you, but will fill as new submissions come in.</p>
<p>To get an idea of the editorial workflow, the best is to look at the <a href="https://scipost.org{% url 'submissions:editorial_workflow' %}">editorial workflow summary</a>.</p>
<h3>What happens now?</h3>
<p>As new submissions come in for which your expertises match, you will eventually start receiving assignment request emails inviting you to take charge of a particular Submission. You are never obliged to do so. Once you do take charge of one, you will be given access to that Submission's Editorial Page from which you will be able to run the refereeing process.</p>
<p>You will also regularly be invited to vote on Editorial Recommendations on Submissions which have undergone our refereeing process (we remind you that publication decisions are taken by the College, as a collective).</p>
<p>Everything is more or less self-explanatory, but you are most welcome to email our Editorial Administration at edadmin@scipost.org if you have any questions.</p>
<p>Once per week, you will also receive an email containing a weekly summary of tasks or activities relevant to your activities as Fellow. This email contains handy direct links to the instances concerned.</p>
<p>At least once per year, you will be invited to a Virtual General Meeting where SciPost Administration, Advisory Board and Editorial Colleges gather to discuss important points about our activities. You will receive separate email communications concerning these. You can find links to past meetings on our site's top navbar, under the "Logged in as ..." submenu.</p>
<h3>Thank you again</h3>
<p>Enjoy looking around! We are very grateful to you for joining our efforts, and are very much looking forward to working with you towards a healthier publishing infrastructure for the sciences.</p>
<p>Prof. J.-S. Caux,<br/>on behalf of the SciPost Foundation</p>
{% include 'email/_footer.html' %}
{
"subject": "Welcome to SciPost's Editorial College",
"recipient_list": [
"contributor.user.email"
],
"bcc": [
"admin@scipost.org"
],
"from_name": "SciPost Admin",
"from_email": "admin@scipost.org"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment