From 83b1ff866ade57e66b6ad0552a8f04d96a76a865 Mon Sep 17 00:00:00 2001 From: mDeflotte Date: Fri, 2 Mar 2012 15:49:32 +0000 Subject: [PATCH] // By default in the BO if there is only one warning, don't display the "Click here to see more" and show the warning. git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13824 b9a71923-0436-4b27-9f14-aed3839534dd --- admin-dev/themes/default/template/layout.tpl | 24 ++++++++++++-------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/admin-dev/themes/default/template/layout.tpl b/admin-dev/themes/default/template/layout.tpl index f3144c3de..283998425 100644 --- a/admin-dev/themes/default/template/layout.tpl +++ b/admin-dev/themes/default/template/layout.tpl @@ -72,18 +72,22 @@ {if count($warnings) > 1} {l s='There are'} {count($warnings)} {l s='warnings'} + + {l s='Click here to see more'} + + + {else} - {l s='There is'} {count($warnings)} {l s='warning'} + {/if} - - {l s='Click here to see more'} - - - {/if}