This commit is contained in:
Ross
2022-04-01 23:42:02 +01:00
parent 32201a0a8b
commit 8498b17678
@@ -10,7 +10,7 @@
<h2>{{collection.name}} <h2>{{collection.name}}
<ul> <ul>
{% for case in collection.cases.all %} {% for case in collection.cases.all %}
<li>{% if collection.collection_type == "REP" %}<a href="{% url 'atlas:collection_case_view' pk=collection.pk case_number=forloop.counter0 %}">Case {{forloop.counter}}</a>{% else %}Case {{forloop.counter}}{% endif %} <li>{% if collection.collection_type == "REV" %}<a href="{% url 'atlas:collection_case_view' pk=collection.pk case_number=forloop.counter0 %}">Case {{forloop.counter}}</a>{% else %}Case {{forloop.counter}}{% endif %}
{% if collection.show_title %} {% if collection.show_title %}
: {{case.title}} : {{case.title}}
{% endif %} {% endif %}