From: Florent Bruneau Date: Sun, 29 Jun 2008 18:50:30 +0000 (+0200) Subject: Fix a layout issue in 'moment' display. X-Git-Tag: xorg/0.9.17~76 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=3eaf05e3c5b6a8851a7e685e31b5c32fa8d09218;p=platal.git Fix a layout issue in 'moment' display. Signed-off-by: Florent Bruneau --- diff --git a/modules/xnetevents.php b/modules/xnetevents.php index 417fb3f..231a93f 100644 --- a/modules/xnetevents.php +++ b/modules/xnetevents.php @@ -574,6 +574,7 @@ class XnetEventsModule extends PLModule $page->assign('tout', is_null($item_id)); if (count($evt['moments'])) { + //var_dump($evt['moments']); $page->assign('moments', $evt['moments']); } diff --git a/templates/xnetevents/admin.tpl b/templates/xnetevents/admin.tpl index 5402e45..6056605 100644 --- a/templates/xnetevents/admin.tpl +++ b/templates/xnetevents/admin.tpl @@ -178,7 +178,7 @@ Ils ont payé mais ont oublié de s'inscrire : {/if} {/foreach} - {if $is_admin && $evt.money} + {if $is_admin && $evt.money && $tout} {assign var=cols value=$moments|@count} Total @@ -225,7 +225,9 @@ Ils ont payé mais ont oublié de s'inscrire : {if $is_admin}

-[Télécharger le fichier Excel] + + {icon name=page_excel title="Télécharger au format Excel"} Télécharger le fichier Excel +