- {% include 'ChillPersonBundle:AccompanyingCourseWork:_objectifs_results_evaluations.html.twig' with {
- 'displayContent': displayContent
- } %}
-
+
+
Public
+ {% if w.note is not empty %}
+
+ {{ w.note|chill_entity_render_box({'metadata': true }) }}
+
+ {% else %}
+
{{ 'No comment associated'|trans }}
+ {% endif %}
+
+ {% if w.privateComment.hasCommentForUser(app.user) %}
+
+
Privé
+
+ {{ w.privateComment.commentForUser(app.user)|chill_markdown_to_html }}
+
{% endif %}
-
-
{{ 'Comments'|trans }}
-
-
-
-
Public
- {% if w.note is not empty %}
-
- {{ w.note|chill_entity_render_box({'metadata': true }) }}
-
- {% else %}
-
{{ 'No comment associated'|trans }}
- {% endif %}
-
- {% if w.privateComment.hasCommentForUser(app.user) %}
-
-
Privé
-
- {{ w.privateComment.commentForUser(app.user)|chill_markdown_to_html }}
-
-
- {% endif %}
{# Here flex-table stay open ! read above #}
-{% endif %}
+ {% endif %}
diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/_objectifs_results_evaluations.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/_objectifs_results_evaluations.html.twig
index 4f5d36230..e66dde463 100644
--- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/_objectifs_results_evaluations.html.twig
+++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/_objectifs_results_evaluations.html.twig
@@ -118,9 +118,15 @@
{% endif %}
{% endif %}
+
+
+ {% if recordAction is defined %}
+ {{ recordAction }}
+ {% endif %}
+
{% if displayContent is defined and displayContent == 'long' %}
{% if e.comment is not empty %}
@@ -136,9 +142,9 @@
{{ d.title }} |
{{ mm.mimeIcon(d.storedObject.type) }} |
-
-
- |
+
+
+ |
{{ d.storedObject|chill_document_button_group(d.title, is_granted('CHILL_MAIN_ACCOMPANYING_PERIOD_WORK_UPDATE', w), {'small': true}) }} |
{% endfor %}
diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/index.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/index.html.twig
index 9214bd30d..ab1989f63 100644
--- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/index.html.twig
+++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/index.html.twig
@@ -26,7 +26,8 @@
'displayAction': true,
'displayContent': 'short',
'displayFontSmall': true,
- 'itemBlocClass': ''
+ 'itemBlocClass': '',
+ 'displayNotification': true
} %}
{% endfor %}
diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/show.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/show.html.twig
index 73b871260..96b47e6c9 100644
--- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/show.html.twig
+++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/show.html.twig
@@ -43,10 +43,10 @@
{% else %}
diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/showEvaluationDocumentInNotification.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/showEvaluationDocumentInNotification.html.twig
index f4c9c1bf7..6d5d22a7d 100644
--- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/showEvaluationDocumentInNotification.html.twig
+++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/showEvaluationDocumentInNotification.html.twig
@@ -1,8 +1,17 @@
{% macro recordAction(document) %}
-
-
-
+ {% import "@ChillDocStore/Macro/macro_mimeicon.html.twig" as mm %}
+
+
+
+
+ {{ document.title }} |
+ {{ mm.mimeIcon(document.storedObject.type) }} |
+ |
+
+
+
{% endmacro %}
{% if document is not null %}
diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/showInNotification.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/showInNotification.html.twig
index 4ee561381..9b06e306c 100644
--- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/showInNotification.html.twig
+++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/showInNotification.html.twig
@@ -1,7 +1,8 @@
{% macro recordAction(work) %}
-
+
{% endmacro %}
{% if work is not null %}
@@ -12,6 +13,7 @@
'displayAction': true,
'displayContent': 'short',
'displayFontSmall': true,
+ 'displayNotification:':true,
'w': work
} %}
{% else %}