SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit af44658b authored by George Katsikas's avatar George Katsikas :goat:
Browse files

hide template in author guidelines with no journal

fixes #93
parent c16b2f6c
No related branches found
No related tags found
No related merge requests found
...@@ -47,12 +47,18 @@ ...@@ -47,12 +47,18 @@
{% endif %} {% endif %}
</li> </li>
{% empty %} {% empty %}
<li>No templates are available at this time &emsp;<em>(for Proceedings: you will find templates in the Proceedings' detail page)</em></li> {% if journal %}
<li>No templates are available at this time &emsp;<em>(for Proceedings: you will find templates in the Proceedings' detail page)</em></li>
{% else %}
<li>To access available templates, please visit the author guidelines page in the "about" section for your prefered <a href="{% url 'scipost:index' %}?tab=journals">target journal</a>.</li>
{% endif %}
{% endfor %} {% endfor %}
</ul> </ul>
{% if journal.required_article_elements %}
<h3 class="mb-2">The article should contain the following elements:</h3> <h3 class="mb-2">The article should contain the following elements:</h3>
{% automarkup journal.required_article_elements language_forced='reStructuredText' %} {% automarkup journal.required_article_elements language_forced='reStructuredText' %}
{% endif %}
<hr> <hr>
<h2 class="highlight" id="manusub">Manuscript submission</h2> <h2 class="highlight" id="manusub">Manuscript submission</h2>
......
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