-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade usability of prepub notifications #4089
- Loading branch information
Showing
10 changed files
with
268 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
{% load foundation %} | ||
<div | ||
class="reveal small" | ||
id="notifications" | ||
data-reveal | ||
data-animation-in="slide-in-up" | ||
data-animation-out="slide-out-down"> | ||
<div class="card"> | ||
<div class="card-divider"> | ||
<h3><i class="fa fa-envelope-o"> </i>Send Notifications</h3> | ||
</div> | ||
{% if not article.fixedpubcheckitems.send_notifications %} | ||
<form method="POST" enctype="multipart/form-data"> | ||
{% csrf_token %} | ||
{{ notification_formset.management_form }} | ||
<div class="card-section"> | ||
<div class="row"> | ||
<div class="large-12 columns"> | ||
<h4>Authors</h4> | ||
<p>You can send an email to authors and others | ||
notifying them of the publication date and time. | ||
Any coauthors | ||
{% if journal_settings.general.notify_section_editors_of_publication %} | ||
and section editors | ||
(<a href="{% url 'core_edit_setting' 'general' 'notify_section_editors_of_publication' %}">change setting</a>) | ||
{% endif %} | ||
have been added to CC.</p> | ||
<p>From: {{ request.user.full_name }} <{{ request.user.email }}></p> | ||
</div> | ||
</div> | ||
{{ notification_formset.0|foundation }} | ||
</div> | ||
{% if journal_settings.general.notify_peer_reviewers_of_publication %} | ||
<div class="card-section"> | ||
<div class="row"> | ||
<div class="large-12 columns"> | ||
<h4>Peer reviewers</h4> | ||
<p>Peer reviewers will be notified with the following message | ||
(<a href="{% url 'core_edit_setting' 'general' 'notify_peer_reviewers_of_publication' %}">change setting</a>). | ||
</p> | ||
<p>From: {{ request.user.full_name }} <{{ request.user.email }}></p> | ||
</div> | ||
</div> | ||
{{ notification_formset.1|foundation }} | ||
</div> | ||
{% endif %} | ||
<div class="card-divider"> | ||
<div class="button-group"> | ||
<button type="submit" class="button success" name="notifications"><i class="fa fa-envelope-o"> </i>Send</button> | ||
</div> | ||
</div> | ||
</form> | ||
{% else %} | ||
<div class="card-section"> | ||
<div class="row"> | ||
<div class="large-12 columns"> | ||
<p>Notifications have already been sent.</p> | ||
</div> | ||
</div> | ||
</div> | ||
{% endif %} | ||
</div> | ||
<button class="close-button" data-close aria-label="Close reveal" type="button"> | ||
<span aria-hidden="true">×</span> | ||
</button> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.