Indicate when no paths have been specified

This commit is contained in:
George Lacey 2021-05-11 16:34:17 +01:00
parent 4e75b89212
commit e7cb649cb4

View File

@ -68,19 +68,19 @@
</div>
</div>
{% endif %}
{% if location_list %}
<div style="width: 600px;" class="repo-container shadow rounded bg-primary overflow-hidden">
<h2 class="h2">Paths</h2>
{% if location_list %}
{% for location in location_list %}
<dl class="att-label row ps-3">
<dt class="col-3">{{ location.label }}</dt>
<dd class="col-9">{{ location.short_description }}</dd>
</dl>
{% endfor %}
</div>
{% else %}
<h3 class="h3">None found</h3>
{% endif %}
</div>
</div>
{% endblock %}