From bb004d0612b3061fdb08404ec45d88fe3bd4e7d2 Mon Sep 17 00:00:00 2001 From: Jorran de Wit <jorrandewit@outlook.com> Date: Sat, 28 Oct 2017 19:34:57 +0200 Subject: [PATCH] Fix Lecture Notes deadline not properly extended --- scipost/static/scipost/assets/css/_navbar.scss | 5 +++-- submissions/views.py | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/scipost/static/scipost/assets/css/_navbar.scss b/scipost/static/scipost/assets/css/_navbar.scss index fc6038b45..a1ffa8e02 100644 --- a/scipost/static/scipost/assets/css/_navbar.scss +++ b/scipost/static/scipost/assets/css/_navbar.scss @@ -96,13 +96,14 @@ .badge { vertical-align: top; margin-left: -15px; - margin-top: -6px; - height: 15px; + margin-top: -5px; + height: 16px; min-width: 16px; line-height: 10px; display: none; padding: 0.25em; border-radius: 99px; + border: 1px solid #f9f9f9; } } diff --git a/submissions/views.py b/submissions/views.py index 6d65cd539..065563200 100644 --- a/submissions/views.py +++ b/submissions/views.py @@ -524,7 +524,7 @@ def assignment_request(request, assignment_id): assignment.submission.editor_in_charge = request.user.contributor assignment.submission.open_for_reporting = True deadline = timezone.now() + datetime.timedelta(days=28) # for papers - if assignment.submission.submitted_to_journal == 'SciPost Physics Lecture Notes': + if assignment.submission.submitted_to_journal == 'SciPostPhysLectNotes': deadline += datetime.timedelta(days=28) assignment.submission.reporting_deadline = deadline assignment.submission.open_for_commenting = True @@ -591,7 +591,7 @@ def volunteer_as_EIC(request, arxiv_identifier_w_vn_nr): date_created=timezone.now(), date_answered=timezone.now()) deadline = timezone.now() + datetime.timedelta(days=28) # for papers - if submission.submitted_to_journal == 'SciPost Physics Lecture Notes': + if submission.submitted_to_journal == 'SciPostPhysLectNotes': deadline += datetime.timedelta(days=28) submission.status = 'EICassigned' submission.editor_in_charge = contributor -- GitLab