{{ 'location'|trans }}
+ {{ activity.location.locationType.title|localize_translatable_string }} + {{ activity.location.name }} +
+{{ 'Sent received'|trans }}
+ {{ activity.sentReceived|capitalize|trans }} +
+{{ 'Referrer'|trans }}
+ {{ activity.user.usernameCanonical|chill_entity_render_string|capitalize }} +
+{{ 'Reasons'|trans }}
++ {{ r|chill_entity_render_box }} +
+ {% endfor %} +{{ 'Social issues'|trans }}
+{{ 'Social actions'|trans }}
+{{ 'Comment'|trans }}
+-
-
- - - - {% if no_action is not defined or no_action == false %} + {% if context == 'person' and activity.accompanyingPeriod is not empty %}
- - + + {{ 'Period number %number%'|trans({'%number%': activity.accompanyingPeriod.id}) }} + + {% else %}
- - + + {% if no_action is not defined or no_action == false %} +
- + + +
- + + + {% endif %} {% endif %}
{{ activity.date|format_date('short') }}
+ {%- endif -%} + + {{ activity.type.name | localize_translatable_string }} + + {% if activity.emergency %} + {{ 'Emergency'|trans|upper }} + {% endif %} + +-
+
+ {% if activity.sentReceived is not empty and t.sentReceivedVisible %}
+
- + {{ 'Sent received'|trans ~ ' : ' }} + {{ activity.sentReceived|capitalize|trans }} + + {% endif %} + + {% if activity.location and t.locationVisible %} +
- + {{ 'location'|trans ~ ': ' }} + + {{ activity.location.locationType.title|localize_translatable_string }} + {{ activity.location.name }} + + + {% endif %} + + {% if activity.user and t.userVisible %} +
- + {{ 'Referrer'|trans ~ ': ' }} + {{ activity.user.usernameCanonical }} + + {% endif %} + +
- + {{ 'Participants'|trans ~ ' : ' }} + {% for p in activity.personsAssociated %} + {{ p|chill_entity_render_box }} + {% endfor %} + +
-
+ {%- if t.reasonsVisible -%}
+ {%- if activity.reasons is not empty -%}
+
- + {% for r in activity.reasons %} + {{ r|chill_entity_render_box }} + {% endfor %} + + {%- endif -%} + {% endif %} + {%- if t.socialIssuesVisible %} + {%- if activity.socialIssues is not empty -%} + + {%- endif -%} + {% endif %} + {%- if t.socialActionsVisible -%} + {%- if activity.socialActions is not empty -%} + + {%- endif -%} + {% endif %} +