Activity show page: move notify button and notification-box in post menu area

This commit is contained in:
2022-01-10 15:14:50 +01:00
parent 5a739380cd
commit 8afd1ee275
6 changed files with 43 additions and 20 deletions

View File

@@ -3,15 +3,9 @@
<h1>{{ "Activity"|trans }}</h1>
{% set notifications = chill_list_notifications('Chill\\ActivityBundle\\Entity\\Activity', entity.id) %}
{% if notifications is not empty %}
{{ notifications|raw }}
{% endif %}
<div class="flex-table">
<div class="item-bloc">
<div class="item-row">
<div class="wrap-list">
<div class="wl-row">
@@ -203,9 +197,6 @@
{{ 'Back to the list'|trans }}
</a>
</li>
<li>
<a class="btn btn-notify" href="{{ chill_path_add_return_path('chill_main_notification_create', {'entityClass': 'Chill\\ActivityBundle\\Entity\\Activity', 'entityId': entity.id}) }}">{{ 'notification.Notify'|trans }}</a>
</li>
{% if is_granted('CHILL_ACTIVITY_UPDATE', entity) %}
<li>
<a class="btn btn-update" href="{{ path('chill_activity_activity_edit', { 'id': entity.id, 'person_id': person_id, 'accompanying_period_id': accompanying_course_id }) }}">