More template work

This commit is contained in:
2022-12-16 13:33:18 +00:00
parent 7b7c1b86de
commit eb07990f4c
4 changed files with 14 additions and 11 deletions

View File

@@ -45,9 +45,15 @@
<hr>
<p class="dont-break-out">{{ event.notes|markdown }}</p>
{% endif %}
<br>
{% include 'partials/item_table.html' %}
<h4>Event Items</h4>
</div>
{% include 'partials/item_table.html' %}
{% if event.subhire_set %}
<div class="card-body"><h4>Associated Subhires</h4></div>
{% with event.subhire_set.all as events %}
{% include 'partials/event_table.html' %}
{%endwith%}
{% endif %}
</div>
</div>
{% if not request.is_ajax and perms.RIGS.view_event %}