X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fsurvey%2Findex.tpl;h=ec96dc9e93f199c7c2ad5c72b9f0f20e545e293c;hb=db143c0fe93e5bf11dc62bc62d3d3ed8b6a88bca;hp=9c65e5ba6d49581ecbab039bae323d9dadac8c03;hpb=0b78af4727f2a6495583641cdecd319a8cb7ed92;p=platal.git diff --git a/templates/survey/index.tpl b/templates/survey/index.tpl index 9c65e5b..ec96dc9 100644 --- a/templates/survey/index.tpl +++ b/templates/survey/index.tpl @@ -29,8 +29,8 @@ {iterate item=s from=$survey_current} - {if $smarty.session.auth || $s.mode == Survey::MODE_ALL} - + {if $smarty.session.auth || $s.mode == Survey::MODE_ALL} + • @@ -38,14 +38,15 @@ - {assign var="has_cs" value="true"} - {/if} - {/iterate} - {if !$has_cs} - - Aucun sondage en cours - + {assign var="has_cs" value="true"} {/if} + {/iterate} + + + {if !$has_cs}Aucun sondage en cours{/if} + {if $smarty.session.auth}{icon name=page_edit} Proposer un sondage{/if} + +
@@ -58,7 +59,7 @@ {iterate item=s from=$survey_old} {if $smarty.session.auth || $s.mode == Survey::MODE_ALL} - + • @@ -76,6 +77,4 @@ {/if} -Proposer un sondage - {* vim:set et sw=2 sts=2 ts=8 enc=utf-8: *}