From a637d8ad2133b1df4ae5e51fb967d4b4cea94832 Mon Sep 17 00:00:00 2001 From: Marc Ducobu Date: Sun, 5 Jul 2015 11:20:21 +0200 Subject: [PATCH] updating the activity show --- Resources/views/Activity/show.html.twig | 72 ++++++++++++------------- 1 file changed, 33 insertions(+), 39 deletions(-) diff --git a/Resources/views/Activity/show.html.twig b/Resources/views/Activity/show.html.twig index 8516f9049..32717fa48 100644 --- a/Resources/views/Activity/show.html.twig +++ b/Resources/views/Activity/show.html.twig @@ -3,44 +3,38 @@ {% set activeRouteKey = 'chill_activity_activity_list' %} {% block personcontent -%} -

Activity

+ + {{ 'Edit the activity'|trans }} + + +
+
{{ 'Person'|trans }}
+
{{ entity.person }}
+
{{ 'Scope'|trans }}
+
{{ entity.scope.name|localize_translatable_string }}
+
{{ 'Date'|trans }}
+
{{ entity.date|localizeddate('long', 'none') }}
+
{{ 'Duration Time'|trans }}
+
{{ entity.durationTime|date('H:i') }}
+
{{ 'User'|trans }}
+
{{ entity.user }}
+
{{ 'Reason'|trans }}
+
{{ entity.reason.name | localize_translatable_string }}
+
{{ 'Type'|trans }}
+
{{ entity.type.name | localize_translatable_string }}
+
{{ 'Attendee'|trans }}
+
{{ entity.attendee }}
+
{{ 'Remark'|trans }}
+
{{ entity.remark }}
+
{{ ''|trans }}
+
+
{{ ''|trans }}
+
+
- - - - - - - - - - - - - - - - - - - - - - - -
Id{{ entity.id }}
Date{{ entity.date|localizeddate('long', 'none') }}
Durationtime{{ entity.durationTime|date('H:i') }}
Remark{{ entity.remark }}
Attendee{{ entity.attendee }}
- - + + {{ 'Edit the activity'|trans }} + + + {{ form(delete_form) }} {% endblock personcontent %}