diff --git a/components/Collection/templates/collection/actors.html.twig b/components/Collection/templates/collection/actors.html.twig index 3ed9ffcec8..d469b8b7b0 100644 --- a/components/Collection/templates/collection/actors.html.twig +++ b/components/Collection/templates/collection/actors.html.twig @@ -4,7 +4,11 @@ {% block body %}
-

{{ title }}

+
+ {% if actors_feed_title is defined %} + {{ actors_feed_title.getHtml() }} + {% endif %} +
{% set prepend_actors_collection = handle_event('PrependActorsCollection', request) %} {% for widget in prepend_actors_collection %} diff --git a/components/Collection/templates/collection/notes.html.twig b/components/Collection/templates/collection/notes.html.twig index 1df64928d3..b646779490 100644 --- a/components/Collection/templates/collection/notes.html.twig +++ b/components/Collection/templates/collection/notes.html.twig @@ -14,18 +14,10 @@ {% endfor %} {% if notes is defined %} -
+
{% set current_path = app.request.get('_route') %} - {% if page_title is defined %} - {% if current_path starts with 'feed_' or 'conversation' in current_path %} -

{{ page_title | trans }}

- {% endif %} - {% else %} - {% if current_path starts with 'search' %} -

{{ 'Notes found' | trans }}

- {% else %} -

{{ 'Notes' | trans }}

- {% endif %} + {% if notes_feed_title is defined %} + {{ notes_feed_title.getHtml() }} {% endif %}