SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit a7c39520 authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Updat admin

parent 5331e5ce
No related branches found
No related tags found
No related merge requests found
......@@ -65,6 +65,8 @@
<div class="row">
<div class="col-12">
<a href="?flag=1">Refresh all conflicts</a>
<br>
{% if coauthorships %}
<div class="card border-danger">
<div class="card-body">
......
......@@ -490,14 +490,14 @@ def assign_submission(request, arxiv_identifier_w_vn_nr):
messages.success(request, 'Your assignment request has been sent successfully.')
return redirect('submissions:pool')
fellows_with_expertise = submission.fellows.all()
coauthorships = submission.flag_coauthorships_arxiv(fellows_with_expertise)
context = {
'submission_to_assign': submission,
'coauthorships': coauthorships,
'form': form
}
if request.GET('flag'):
fellows_with_expertise = submission.fellows.all()
context['coauthorships'] = submission.flag_coauthorships_arxiv(fellows_with_expertise)
return render(request, 'submissions/admin/editorial_assignment_form.html', context)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment