From 5a453eeff068c98e582303376241d93c985e42b8 Mon Sep 17 00:00:00 2001 From: "J.-S. Caux" <J.S.Caux@uva.nl> Date: Sat, 22 Apr 2017 19:28:42 +0200 Subject: [PATCH] Correct non-allowed link in personal page; add link to ref overview --- scipost/templates/scipost/personal_page.html | 6 ++++++ .../submissions/refereeing_overview.html | 16 +++++++++------- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/scipost/templates/scipost/personal_page.html b/scipost/templates/scipost/personal_page.html index 8705a7859..41a53da70 100644 --- a/scipost/templates/scipost/personal_page.html +++ b/scipost/templates/scipost/personal_page.html @@ -274,10 +274,16 @@ {% endif %} </ul> + {% if 'Editorial Administrators' in user_groups %} + <h3>Refereeing overview</h3> + <ul> + <li>View (and act on) outstanding refereeing invitations in the <a href="{% url 'submissions:refereeing_overview' %}">refereeing overview</a></li> + </ul> <h3>Voting</h3> <ul> <li>Prepare Editorial Recommendations for voting via the <a href="{% url 'submissions:pool' %}">Submissions Pool</a> ({{ nr_recommendations_to_prepare_for_voting }})</li> </ul> + {% endif %} </div> {% endif %} </div> diff --git a/submissions/templates/submissions/refereeing_overview.html b/submissions/templates/submissions/refereeing_overview.html index 33afefb2b..1febdf25f 100644 --- a/submissions/templates/submissions/refereeing_overview.html +++ b/submissions/templates/submissions/refereeing_overview.html @@ -28,13 +28,15 @@ <hr/> <div class="row"> <div class="col-12"> - <h3>{{ submission.title }}</h3> - <p>{{ submission.author_list }}</p> - <h4>Refereeing deadline: {{ submission.reporting_deadline }}</h4> - <h4>Refereeing status summary:</h4> - {% include 'submissions/_submission_refereeing_status.html' with submission=submission %} - <h3 class="mb-2">Detail of refereeing invitations:</h3> - {% include 'submissions/_submission_refereeing_invitations.html' with submission=submission invitations=ref_invitations %} + <div class="card mx-1"> + <h3>{{ submission.title }}</h3> + <p>{{ submission.author_list }}</p> + <h4>Refereeing deadline: {{ submission.reporting_deadline }}</h4> + <h4>Refereeing status summary:</h4> + {% include 'submissions/_submission_refereeing_status.html' with submission=submission %} + <h3 class="mb-2">Detail of refereeing invitations:</h3> + {% include 'submissions/_submission_refereeing_invitations.html' with submission=submission invitations=ref_invitations %} + </div> </div> </div> -- GitLab