From df9fb881b174d438e4be20b4a8bf8c734ebc1e29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Fri, 27 Feb 2015 17:42:31 +0100 Subject: [PATCH] add title to report box in timeline --- Resources/views/Timeline/report_person_context.html.twig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Resources/views/Timeline/report_person_context.html.twig b/Resources/views/Timeline/report_person_context.html.twig index d19559632..8dc83776f 100644 --- a/Resources/views/Timeline/report_person_context.html.twig +++ b/Resources/views/Timeline/report_person_context.html.twig @@ -1,4 +1,5 @@
+

{{ 'Report'|trans }}

{{ '%user% has filled a %report_label% report on %date%'|trans( { @@ -10,6 +11,8 @@
{% if custom_fields_in_summary|length > 0 %}
+
+
{% for field in custom_fields_in_summary %} {% if field.type == 'title' %} {{ chill_custom_field_widget(report.cFData, field) }} @@ -18,6 +21,7 @@
{{ chill_custom_field_widget(report.cFData, field) }}
{% endif %} {% endfor %} +
{% endif %}
\ No newline at end of file