SciPost Code Repository

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

Fix template variable;

parent e3554698
No related branches found
No related tags found
No related merge requests found
...@@ -45,12 +45,14 @@ ...@@ -45,12 +45,14 @@
{% if assignment.submission.cycle.has_required_actions %} {% if assignment.submission.cycle.has_required_actions %}
<h3>Required actions (go to the <a href="https://scipost.org{% url 'submissions:editorial_page' assignment.submission.preprint.identifier_w_vn_nr %}">Editorial page</a> to carry them out):</h3> <h3>Required actions (go to the <a href="https://scipost.org{% url 'submissions:editorial_page' assignment.submission.preprint.identifier_w_vn_nr %}">Editorial page</a> to carry them out):</h3>
<ul> <ul>
{% for action in assignment.submission.cycle.get_required_actions %} {% for code, action in assignment.submission.cycle.required_actions.items %}
<li>{{action.1}}</li> <li>{{ action }}</li>
{% empty %} {% empty %}
<li>No action required. Great job!</li> <li>No action required. Great job!</li>
{% endfor %} {% endfor %}
</ul> </ul>
{% else %}
<p>No action required. Great job!</p>
{% endif %} {% endif %}
</li> </li>
{% endfor %} {% endfor %}
......
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