SciPost Code Repository

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

Show last publications if issue still empty

parent 2e8fda9e
No related branches found
No related tags found
No related merge requests found
......@@ -77,7 +77,7 @@
</h2>
</div>
{% if issue and publications %}
<h4 class="card-text text-center">A selection from the current issue:</h4>
<h4 class="card-text text-center">A selection from the {% if issue.is_current %}current{% else %}last{% endif %} issue:</h4>
{% if issue %}
<div class="text-muted text-center">Vol. {{ issue.in_volume.number }} issue {{ issue.number }} {{issue.period_as_string}}</div>
{% endif %}
......
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