Centralize the Submission cycle handling
All required actions are determined and saved in `submission.cycle` now. The actions required are determined at initialization of the submission. Different cycles now possibly can have different required actions. All template logic to determine required actions is removed from the codebase.
Showing
- comments/managers.py 5 additions, 0 deletionscomments/managers.py
- comments/models.py 1 addition, 1 deletioncomments/models.py
- submissions/constants.py 2 additions, 1 deletionsubmissions/constants.py
- submissions/managers.py 14 additions, 1 deletionsubmissions/managers.py
- submissions/models.py 18 additions, 13 deletionssubmissions/models.py
- submissions/templates/submissions/_submission_card_in_pool.html 3 additions, 3 deletions...sions/templates/submissions/_submission_card_in_pool.html
- submissions/templates/submissions/_submission_refereeing_status.html 1 addition, 1 deletion.../templates/submissions/_submission_refereeing_status.html
- submissions/templates/submissions/assignments.html 4 additions, 9 deletionssubmissions/templates/submissions/assignments.html
- submissions/templates/submissions/editorial_page.html 19 additions, 8 deletionssubmissions/templates/submissions/editorial_page.html
- submissions/templatetags/submissions_extras.py 0 additions, 55 deletionssubmissions/templatetags/submissions_extras.py
- submissions/utils.py 124 additions, 5 deletionssubmissions/utils.py
- submissions/views.py 2 additions, 2 deletionssubmissions/views.py
Loading
Please register or sign in to comment