@@ -197,9 +203,12 @@
{{ 'Back to the list'|trans }}
- {% if is_granted('CHILL_ACTIVITY_UPDATE', entity) %}
-
+ {{ 'notification.Notify'|trans }}
+
+ {% if is_granted('CHILL_ACTIVITY_UPDATE', entity) %}
+
+
{{ 'Edit'|trans }}
@@ -212,9 +221,3 @@
{% endif %}
-
diff --git a/src/Bundle/ChillActivityBundle/Resources/views/Activity/showAccompanyingCourse.html.twig b/src/Bundle/ChillActivityBundle/Resources/views/Activity/showAccompanyingCourse.html.twig
index b74b315a3..bf3728280 100644
--- a/src/Bundle/ChillActivityBundle/Resources/views/Activity/showAccompanyingCourse.html.twig
+++ b/src/Bundle/ChillActivityBundle/Resources/views/Activity/showAccompanyingCourse.html.twig
@@ -4,6 +4,16 @@
{% block title 'Show the activity'|trans %}
+{% block js %}
+ {{ parent() }}
+ {{ encore_entry_script_tags('mod_notification_toggle_read_status') }}
+{% endblock %}
+
+{% block css %}
+ {{ parent() }}
+ {{ encore_entry_link_tags('mod_notification_toggle_read_status') }}
+{% endblock %}
+
{% import 'ChillActivityBundle:ActivityReason:macro.html.twig' as m %}
{% block content -%}
diff --git a/src/Bundle/ChillActivityBundle/Resources/views/Activity/showPerson.html.twig b/src/Bundle/ChillActivityBundle/Resources/views/Activity/showPerson.html.twig
index 5e92f8fa2..c90b069ed 100644
--- a/src/Bundle/ChillActivityBundle/Resources/views/Activity/showPerson.html.twig
+++ b/src/Bundle/ChillActivityBundle/Resources/views/Activity/showPerson.html.twig
@@ -4,6 +4,16 @@
{% block title 'Show the activity'|trans %}
+{% block js %}
+ {{ parent() }}
+ {{ encore_entry_script_tags('mod_notification_toggle_read_status') }}
+{% endblock %}
+
+{% block css %}
+ {{ parent() }}
+ {{ encore_entry_link_tags('mod_notification_toggle_read_status') }}
+{% endblock %}
+
{% import 'ChillActivityBundle:ActivityReason:macro.html.twig' as m %}
{% block personcontent -%}
diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig
index 821b80b12..11445270a 100644
--- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig
+++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig
@@ -22,7 +22,6 @@
{% block css %}
{{ parent() }}
{{ encore_entry_link_tags('mod_notification_toggle_read_status') }}
-
{% endblock %}
{% block content %}