- For team secretaries, a button "Submit unsolicited review" will now appear next to "Request review" on the document's main page. - If the secretary is a secretary for multiple teams, they are taken through an intermediate page to select for which team they are submitting their review. - The form is similar (and using the same code) as the usual review completion, with a few extra fields for the review type and reviewer, which would usually already be known. - When submitting the review, a ReviewRequest and ReviewAssignment are automatically created. The assignment is then immediately closed in the usual way. - Other workflows are unchanged. The issues with the review form in #2061 are slightly worse for the unsolicited review scenario, but that will be improved when #2061 is fixed. Commit ready for merge. - Legacy-Id: 16924
24 lines
1.5 KiB
Python
24 lines
1.5 KiB
Python
# Copyright The IETF Trust 2016-2019, All Rights Reserved
|
|
from django.conf import settings
|
|
|
|
from ietf.doc import views_review
|
|
from ietf.utils.urls import url
|
|
|
|
urlpatterns = [
|
|
url(r'^$', views_review.request_review),
|
|
url(r'^(?P<request_id>[0-9]+)/$', views_review.review_request),
|
|
url(r'^(?P<request_id>[0-9]+)/login/$', views_review.review_request_forced_login),
|
|
url(r'^(?P<request_id>[0-9]+)/close/$', views_review.close_request),
|
|
url(r'^(?P<request_id>[0-9]+)/assignreviewer/$', views_review.assign_reviewer),
|
|
url(r'^(?P<assignment_id>[0-9]+)/rejectreviewerassignment/$', views_review.reject_reviewer_assignment),
|
|
url(r'^(?P<assignment_id>[0-9]+)/complete/$', views_review.complete_review),
|
|
url(r'^%(acronym)s/submitunsolicitedreview/$' % settings.URL_REGEXPS, views_review.complete_review),
|
|
url(r'^submitunsolicitedreview/$', views_review.submit_unsolicited_review_choose_team),
|
|
url(r'^(?P<assignment_id>[0-9]+)/withdraw/$', views_review.withdraw_reviewer_assignment),
|
|
url(r'^(?P<assignment_id>[0-9]+)/noresponse/$', views_review.mark_reviewer_assignment_no_response),
|
|
url(r'^assignment/(?P<assignment_id>[0-9]+)/searchmailarchive/$', views_review.search_mail_archive),
|
|
url(r'^team/%(acronym)s/searchmailarchive/$' % settings.URL_REGEXPS, views_review.search_mail_archive),
|
|
url(r'^(?P<request_id>[0-9]+)/editcomment/$', views_review.edit_comment),
|
|
url(r'^(?P<request_id>[0-9]+)/editdeadline/$', views_review.edit_deadline),
|
|
]
|