X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fsurvey%2Findex.tpl;h=c248d92ae20c48df1ad22a1fcab948341f7e2a46;hb=9ef5f2e9eb040eeb97162cd4af622e6031f17d82;hp=f74f8aee6390cf6fd0fc9f18d9755358d1e420e0;hpb=3d8decf9cc529877d7d564fc469ecf6551b1baa9;p=platal.git diff --git a/templates/survey/index.tpl b/templates/survey/index.tpl index f74f8ae..c248d92 100644 --- a/templates/survey/index.tpl +++ b/templates/survey/index.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2009 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -29,7 +29,8 @@ {iterate item=s from=$survey_current} - + {if $smarty.session.auth || $s.mode == Survey::MODE_ALL} + • @@ -37,13 +38,15 @@ - {assign var="has_cs" value="true"} - {/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} + +
@@ -55,7 +58,8 @@ {iterate item=s from=$survey_old} - + {if $smarty.session.auth || $s.mode == Survey::MODE_ALL} + • @@ -63,7 +67,8 @@ - {assign var="has_os" value="true"} + {assign var="has_os" value="true"} + {/if} {/iterate} {if !$has_os} @@ -72,6 +77,4 @@ {/if} -Proposer un sondage - {* vim:set et sw=2 sts=2 ts=8 enc=utf-8: *}