X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fsurvey%2Findex.tpl;h=5523fc82158843e8eadd70405fc7ef9041af51e3;hb=2f4b93beb55b35a978d3a9520bdf67ac3abf43fb;hp=2d4890f328f0484424047d2114cf24a95067d6a0;hpb=8b0fa81ef71d263c267321d9f5e2cc374b6ffd77;p=platal.git diff --git a/templates/survey/index.tpl b/templates/survey/index.tpl index 2d4890f..5523fc8 100644 --- a/templates/survey/index.tpl +++ b/templates/survey/index.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -22,56 +22,21 @@

Sondages

+{if $active->total() > 0} - {iterate item=s from=$survey_current} - - - - {assign var="has_cs" value="true"} - {/iterate} - {if !$has_cs} + {iterate from=$active item=survey} - - - {/if} -
Sondages en cours
- • - - {$s.title} ({$s.end|date_format:"%x"}) - -
Aucun sondage en cours
- -
- - - - - - {iterate item=s from=$survey_old} - - - {assign var="has_os" value="true"} {/iterate} - {if !$has_os} - - - - {/if}
- Anciens sondages -
- • - - {$s.title} ({$s.end|date_format:"%x"}) - + + {$survey->title}
Aucun ancien sondage
- -Proposer un sondage +{/if} {* vim:set et sw=2 sts=2 ts=8 enc=utf-8: *}