{% firstof value.label value.date as label %} {% if label %} {% else %} value.bound_blocks.next_date|date:"l" %} {% endif %} {% include "wagtail_extensions/partials/opening_time.html" with time=value %}