From 5cb131935f0e4a8fb4082ed989a17c214d1e4beb Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Fri, 20 Jul 2018 08:26:54 +0200 Subject: make side bar skinny, add shortcuts to main controllers --- app-from-scratch.sh | 7 +++++++ .../plugins/CustomTheme/src/Template/Bake/Element/form.twig | 4 ++-- .../plugins/CustomTheme/src/Template/Bake/Template/index.twig | 4 ++-- .../plugins/CustomTheme/src/Template/Bake/Template/view.twig | 4 ++-- fai_gestion/src/Template/Layout/default.ctp | 8 +++++--- 5 files changed, 18 insertions(+), 9 deletions(-) diff --git a/app-from-scratch.sh b/app-from-scratch.sh index 0268887..08a0947 100644 --- a/app-from-scratch.sh +++ b/app-from-scratch.sh @@ -323,3 +323,10 @@ editor plugins/CustomTheme/src/View/Helper/BakeExtraHelper.php plugins/CustomThe git add plugins/CustomTheme/src/View/Helper/BakeExtraHelper.php plugins/CustomTheme/src/Template/Bake/Template/index.twig git add ../app-from-scratch.sh git commit -m "index: no 'id' column by default" +# 5e90ca7ab1cddf94e500397549b85c54aed570da + +# make side bar skinny, add shortcuts to main controllers +editor $p/Template/index.twig $p/Template/view.twig $p/Element/form.twig src/Template/Layout/default.ctp +git add $p/Template/index.twig $p/Template/view.twig $p/Element/form.twig src/Template/Layout/default.ctp +git add ../app-from-scratch.sh +git commit -m "make side bar skinny, add shortcuts to main controllers" diff --git a/fai_gestion/plugins/CustomTheme/src/Template/Bake/Element/form.twig b/fai_gestion/plugins/CustomTheme/src/Template/Bake/Element/form.twig index b2d9e50..2ed5249 100644 --- a/fai_gestion/plugins/CustomTheme/src/Template/Bake/Element/form.twig +++ b/fai_gestion/plugins/CustomTheme/src/Template/Bake/Element/form.twig @@ -14,7 +14,7 @@ */ #} {% set fields = Bake.filterFields(fields, schema, modelObject) %} -