mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-29 18:14:59 +00:00
rajout du voter, pour document et action dans la notif -> affiche les documents mais aussi le fais de partager dans notification create
This commit is contained in:
@@ -6,9 +6,7 @@
|
||||
{% endmacro %}
|
||||
{% if work is not null %}
|
||||
<div class="flex-table">
|
||||
{% if is_granted('CHILL_PERSON_ACCOMPANYING_PERIOD_SEE', work) %}
|
||||
{% else %}
|
||||
{% endif %}
|
||||
{% if is_granted('CHILL_MAIN_ACCOMPANYING_PERIOD_WORK_SEE', work) %}
|
||||
{% include 'ChillPersonBundle:AccompanyingCourseWork:_item.html.twig' with {
|
||||
'itemBlocClass': 'bg-chill-llight-gray',
|
||||
'displayAction': true,
|
||||
@@ -16,10 +14,12 @@
|
||||
'displayFontSmall': true,
|
||||
'w': work
|
||||
} %}
|
||||
{% else %}
|
||||
<div class="alert alert-warning border-warning border-1">
|
||||
{{ 'This is the minimal period details'|trans ~ ': ' ~ work.id }}<br>
|
||||
{{ 'You are getting a notification for a period you are not allowed to see'|trans }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="alert alert-warning border-warning border-1">
|
||||
|
Reference in New Issue
Block a user