diff --git a/src/Bundle/ChillActivityBundle/Resources/views/Activity/_list_item.html.twig b/src/Bundle/ChillActivityBundle/Resources/views/Activity/_list_item.html.twig index 7b46ffb67..bb4c6fd16 100644 --- a/src/Bundle/ChillActivityBundle/Resources/views/Activity/_list_item.html.twig +++ b/src/Bundle/ChillActivityBundle/Resources/views/Activity/_list_item.html.twig @@ -34,8 +34,8 @@

{{ 'location'|trans }}

- {{ activity.location.locationType.title|localize_translatable_string }} {{ activity.location.name }} + ({{ activity.location.locationType.title|localize_translatable_string }})

@@ -57,7 +57,7 @@

{{ 'Referrer'|trans }}

- {{ activity.user.usernameCanonical|chill_entity_render_string|capitalize }} + {{ activity.user|chill_entity_render_string|capitalize }}

diff --git a/src/Bundle/ChillActivityBundle/Resources/views/Activity/show.html.twig b/src/Bundle/ChillActivityBundle/Resources/views/Activity/show.html.twig index 9faacd430..633493104 100644 --- a/src/Bundle/ChillActivityBundle/Resources/views/Activity/show.html.twig +++ b/src/Bundle/ChillActivityBundle/Resources/views/Activity/show.html.twig @@ -34,7 +34,7 @@
{{ 'Referrer'|trans|capitalize }}
-
{{ entity.user }}
+
{{ entity.user|chill_entity_render_box }}
{%- if entity.scope -%}
{{ 'Scope'|trans }}
@@ -103,8 +103,8 @@
{% if entity.location is not null %}

- {{ entity.location.locationType.title|localize_translatable_string }} {{ entity.location.name }} + ({{ entity.location.locationType.title|localize_translatable_string }})

{{ entity.location.address|chill_entity_render_box }}
{% else %}