SciPost Code Repository

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

Fix false-showing 'you're a EIC...' in some cases

parent 19ee249f
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@
{% if not submission.is_current %}
<h3 style="color: red;">This is not the current version.</h3>
{% endif %}
{% if user.contributor == submission.editor_in_charge %}
{% if submission.editor_in_charge and request.user.contributor == submission.editor_in_charge %}
<h3>(You are the Editor-in-charge, go to the <a href="{% url 'submissions:editorial_page' arxiv_identifier_w_vn_nr=submission.arxiv_identifier_w_vn_nr %}">Editorial Page</a> to take editorial actions)</h3>
{% endif %}
</div>
......
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