From 508b933ab904271d59b9596b86cf215155da264a Mon Sep 17 00:00:00 2001 From: Marc Ducobu Date: Fri, 4 Dec 2015 19:30:35 +0100 Subject: [PATCH] Improving UI --- Resources/views/Activity/list.html.twig | 6 +++--- Resources/views/Activity/new.html.twig | 2 +- Resources/views/Activity/show.html.twig | 10 ++-------- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/Resources/views/Activity/list.html.twig b/Resources/views/Activity/list.html.twig index 0cd6a5008..9bed49ec5 100644 --- a/Resources/views/Activity/list.html.twig +++ b/Resources/views/Activity/list.html.twig @@ -40,10 +40,10 @@ {{ activity.reason.name | localize_translatable_string }} {{ activity.type.name | localize_translatable_string }} - {{ 'Show the activity' | trans }} + {{ 'Show' | trans }} - {{ 'Edit the activity' | trans }} + {{ 'Edit' | trans }} {% endfor %} @@ -51,7 +51,7 @@

- + {{ 'Add a new activity' | trans }}

diff --git a/Resources/views/Activity/new.html.twig b/Resources/views/Activity/new.html.twig index 4e55698a0..dbea1350c 100644 --- a/Resources/views/Activity/new.html.twig +++ b/Resources/views/Activity/new.html.twig @@ -21,7 +21,7 @@ {% block title %}{{ 'Activity create' |trans }}{% endblock title %} {% block personcontent %} -

{{ "Activity creation"|trans }}

+

{{ "Activity creation"|trans }}

{{ form_start(form) }} diff --git a/Resources/views/Activity/show.html.twig b/Resources/views/Activity/show.html.twig index 1be4948d9..1e282778e 100644 --- a/Resources/views/Activity/show.html.twig +++ b/Resources/views/Activity/show.html.twig @@ -3,11 +3,7 @@ {% set activeRouteKey = 'chill_activity_activity_list' %} {% block personcontent -%} -

{{ "Activity"|trans }}

- - - {{ 'Edit the activity'|trans }} - +

{{ "Activity"|trans }}

{{ 'Person'|trans }}
@@ -34,9 +30,7 @@
- + {{ 'Edit the activity'|trans }} - - {# {{ form(delete_form) }} #} {% endblock personcontent %}