Testing something re notes

I wonder if I can make that global, rather than per-template...
This commit is contained in:
2020-06-25 18:32:00 +01:00
parent a6cee78198
commit be48dd31f9

View File

@@ -51,7 +51,7 @@
{{ event.name }}
</a>
{% if event.venue %}
<small>at {{ event.venue }}</small>
<small>at {% if event.venue.notes %}{{ event.venue.name }} <a href="{% url 'venue_detail' event.venue.pk %}"><span class="far fa-sticky-note"></span></a>{% else %}{{ event.venue.name }}{% endif %}</small>
{% endif %}
{% if event.dry_hire %}
<span class="badge badge-secondary">Dry Hire</span>