- {% if t.durationTimeVisible and is_granted('CHILL_ACTIVITY_SEE_DETAILS', entity) %}
-
{{ 'Duration Time'|trans }}
-
- {% if entity.durationTime is not null %}
- {{ entity.durationTime|date('H:i') }}
- {% else %}
- {{ 'None'|trans|capitalize }}
- {% endif %}
-
- {% endif %}
+
+ - {{ 'Date'|trans }}
+ - {{ entity.date|format_date('long') }}
- {% if t.travelTimeVisible and is_granted('CHILL_ACTIVITY_SEE_DETAILS', entity) %}
- - {{ 'Travel time'|trans }}
- -
- {% if entity.travelTime is not null %}
- {{ entity.travelTime|date('H:i') }}
- {% else %}
- {{ 'None'|trans|capitalize }}
- {% endif %}
-
- {% endif %}
-
- {% if t.commentVisible and is_granted('CHILL_ACTIVITY_SEE_DETAILS', entity) %}
- - {{ 'activity.comment'|trans }}
- -
- {%- if entity.comment.empty -%}
- {{ 'No comment associated'|trans }}
- {%- else -%}
- {{ entity.comment|chill_entity_render_box }}
- {%- endif -%}
-
- {% endif %}
-
- {% if t.documentsVisible and is_granted('CHILL_ACTIVITY_SEE_DETAILS', entity) %}
- - {{ 'Documents'|trans }}
- -
- {% if entity.documents|length > 0 %}
-
- {% for d in entity.documents %}
- - {{ m.download_button(d) }}
- {% endfor %}
-
- {% else %}
- {{ 'Any document found'|trans }}
- {% endif %}
-
- {% endif %}
-
- {% if t.attendeeVisible and is_granted('CHILL_ACTIVITY_SEE_DETAILS', entity) %}
- - {{ 'Attendee'|trans }}
- -
- {% if entity.attendee is not null %}
- {% if entity.attendee %}
- {{ 'present'|trans|capitalize }}
- {% else %}
- {{ 'not present'|trans|capitalize }}
+ {% if t.locationVisible %}
+
- {{ 'Activity location'|trans }}
+ -
+ {% if entity.location is not null %}
+
+ {{ entity.location.locationType.title|localize_translatable_string }}
+ {{ entity.location.name }}
+
+ {{ entity.location.address|chill_entity_render_box }}
+ {% else %}
+ {{ 'No address given'|trans }}
+ {% endif %}
+
{% endif %}
- {% else %}
- {{ 'None'|trans|capitalize }}
- {% endif %}
-
- {% endif %}
-
+ {% if t.durationTimeVisible and is_granted('CHILL_ACTIVITY_SEE_DETAILS', entity) %}
+
{{ 'Duration Time'|trans }}
+
+ {% if entity.durationTime is not null %}
+ {{ entity.durationTime|date('H:i') }}
+ {% else %}
+ {{ 'None'|trans|capitalize }}
+ {% endif %}
+
+ {% endif %}
+
+ {% if t.travelTimeVisible and is_granted('CHILL_ACTIVITY_SEE_DETAILS', entity) %}
+
{{ 'Travel time'|trans }}
+
+ {% if entity.travelTime is not null %}
+ {{ entity.travelTime|date('H:i') }}
+ {% else %}
+ {{ 'None'|trans|capitalize }}
+ {% endif %}
+
+ {% endif %}
+
+ {% if t.commentVisible and is_granted('CHILL_ACTIVITY_SEE_DETAILS', entity) %}
+
{{ 'activity.comment'|trans }}
+
+ {%- if entity.comment.empty -%}
+ {{ 'No comment associated'|trans }}
+ {%- else -%}
+ {{ entity.comment|chill_entity_render_box }}
+ {%- endif -%}
+
+ {% endif %}
+
+ {% if t.documentsVisible and is_granted('CHILL_ACTIVITY_SEE_DETAILS', entity) %}
+
{{ 'Documents'|trans }}
+
+ {% if entity.documents|length > 0 %}
+
+ {% for d in entity.documents %}
+ - {{ m.download_button(d) }}
+ {% endfor %}
+
+ {% else %}
+ {{ 'Any document found'|trans }}
+ {% endif %}
+
+ {% endif %}
+
+ {% if t.attendeeVisible and is_granted('CHILL_ACTIVITY_SEE_DETAILS', entity) %}
+
{{ 'Attendee'|trans }}
+
+ {% if entity.attendee is not null %}
+ {% if entity.attendee %}
+ {{ 'present'|trans|capitalize }}
+ {% else %}
+ {{ 'not present'|trans|capitalize }}
+ {% endif %}
+ {% else %}
+ {{ 'None'|trans|capitalize }}
+ {% endif %}
+
+ {% endif %}
+
+
+
+