From 39891ad48b51cf52762e22139b13c8f2ec85c7ef Mon Sep 17 00:00:00 2001 From: Nicolas Le Goff Date: Tue, 26 Jun 2012 11:42:11 +0200 Subject: [PATCH] fix #757 remove story creration when no in story mode --- templates/web/prod/index.html.twig | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/templates/web/prod/index.html.twig b/templates/web/prod/index.html.twig index d58359d8d2..8fff874573 100644 --- a/templates/web/prod/index.html.twig +++ b/templates/web/prod/index.html.twig @@ -261,12 +261,14 @@ {% trans 'Browse Baskets' %} -
- - - {% trans 'action:: nouveau reportage' %} - -
+ {% if registry.get('GV_multiAndReport') %} +
+ + + {% trans 'action:: nouveau reportage' %} + +
+ {% endif %}