From 49339d78fa8252d865076ae4814ac8d1d5d23e50 Mon Sep 17 00:00:00 2001 From: Marc Ducobu Date: Fri, 4 Dec 2015 19:39:47 +0100 Subject: [PATCH] Amelioration UI --- Resources/views/Report/list.html.twig | 4 ++-- Resources/views/Report/view.html.twig | 17 +++++++---------- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/Resources/views/Report/list.html.twig b/Resources/views/Report/list.html.twig index 3641564fa..966703d1d 100644 --- a/Resources/views/Report/list.html.twig +++ b/Resources/views/Report/list.html.twig @@ -37,8 +37,8 @@ {% if report.date %}{{ report.date|localizeddate('long', 'none') }}{% endif %} {{ report.cFGroup.getName(app.request.locale) }} {{ report.scope.name|localize_translatable_string }} - {{ 'View the report' | trans }} - {{ 'Update the report' | trans }} + {{ 'View' | trans }} + {{ 'Update' | trans }} {% endfor %} diff --git a/Resources/views/Report/view.html.twig b/Resources/views/Report/view.html.twig index b344219c9..499ae3d84 100644 --- a/Resources/views/Report/view.html.twig +++ b/Resources/views/Report/view.html.twig @@ -22,26 +22,23 @@ {% block personcontent %} - - {{ 'Update the report'|trans }} - -

{{ 'Details'|trans }}

+

{{ 'Details'|trans }}

-
{{ 'Person'|trans }}
+
{{ 'Person'|trans }} :
{{ entity.person }}
-
{{ 'Scope'|trans }}
+
{{ 'Scope'|trans }} :
{{ entity.scope.name|localize_translatable_string }}
-
{{ 'Date'|trans }}
+
{{ 'Date'|trans }} :
{{ entity.date|localizeddate('long', 'none') }}
-
{{ 'User'|trans }}
+
{{ 'User'|trans }} :
{{ entity.user }}
-
{{ 'Report type'|trans }}
+
{{ 'Report type'|trans }} :
{{ entity.cFGroup.getName(app.request.locale) }}
{{ chill_custom_fields_group_widget(entity.cFData, entity.cFGroup) }}
- {{ 'Update the report' | trans }} + {{ 'Update the report' | trans }} {% endblock %}