SciPost Code Repository
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SciPost
Manage
Activity
Members
Labels
Plan
Issues
118
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SciPost
SciPost
Commits
577f97b9
Commit
577f97b9
authored
8 years ago
by
Jean-Sébastien Caux
Browse files
Options
Downloads
Patches
Plain Diff
Correct two more bugs
parent
d25f9da8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
submissions/templatetags/submissions_extras.py
+6
-3
6 additions, 3 deletions
submissions/templatetags/submissions_extras.py
with
6 additions
and
3 deletions
submissions/templatetags/submissions_extras.py
+
6
−
3
View file @
577f97b9
...
...
@@ -43,14 +43,17 @@ def required_actions(submission):
todo
.
append
(
'
Only %s Referees have been invited.
'
'
At least 3 should be.
'
%
nr_ref_inv
)
for
ref_inv
in
submission
.
refereeinvitation_set
.
all
():
refname
=
ref_inv
.
last_name
+
'
,
'
+
ref_inv
.
last_name
if
ref_inv
.
referee
:
refname
=
str
(
ref_inv
.
referee
)
if
ref_inv
.
accepted
is
None
and
not
ref_inv
.
cancelled
:
todo
.
append
(
'
Referee %s has not yet responded. Consider sending a reminder
'
'
or cancelling the invitation.
'
%
ref
_inv
.
refere
e
)
'
or cancelling the invitation.
'
%
ref
nam
e
)
if
ref_inv
.
accepted
and
not
ref_inv
.
fulfilled
and
not
ref_inv
.
cancelled
:
todo
.
append
(
'
Referee %s has accepted to send a Report,
'
'
but not yet delivered it. Consider sending a
'
'
reminder.
'
%
ref
_inv
.
refere
e
)
if
submission
.
reporting_deadline
>
timezone
.
now
():
'
reminder.
'
%
ref
nam
e
)
if
submission
.
reporting_deadline
<
timezone
.
now
():
todo
.
append
(
'
The refereeing deadline has passed. Please either extend it,
'
'
or formulate your Editorial Recommendation.
'
)
reports
=
submission
.
report_set
.
all
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment