adapting vue_calendar to use Location

This commit is contained in:
2021-10-15 15:23:49 +02:00
parent d86307327c
commit 6876c23adb
7 changed files with 40 additions and 7 deletions

View File

@@ -36,6 +36,20 @@
<dt class="inline">{{ 'status'|trans }}</dt>
<dd>{{ entity.status }}</dd>
<dt class="inline">{{ 'calendar location'|trans }}</dt>
<dd>
{% if entity.location is not null %}
<p>
<span>{{ entity.location.locationType.title|localize_translatable_string }}</span>
{{ entity.location.name }}
</p>
{{ entity.location.address|chill_entity_render_box }}
{% else %}
<span class="chill-no-data-statement">{{ 'No address given'|trans }}</span>
{% endif %}
</dd>
{% if not entity.comment.isEmpty %}
<dt class="inline">{{ 'calendar comment'|trans }}</dt>
<dd>{{ entity.comment|chill_entity_render_box }}</dd>