X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fsurvey%2Fshow_root.tpl;h=ca606fdb6fce9df058a4dd359848f0aa36bcbc63;hb=9006db5d9e2b5d636b631fb51a834977a067d6bb;hp=e8aa9c1981e161b2b9c7afb53ca022272e17b55f;hpb=93d42b4fcc6f055a428c9b63e386ac62c918d08a;p=platal.git diff --git a/templates/survey/show_root.tpl b/templates/survey/show_root.tpl index e8aa9c1..ca606fd 100644 --- a/templates/survey/show_root.tpl +++ b/templates/survey/show_root.tpl @@ -41,12 +41,12 @@
- {if $survey_editmode} + {if $smarty.session.survey_validate || ($survey_editmode && !$survey_updatemode)} {icon name=tick} - {if $survey_updatemode}Enregistrer les modifications{else}Proposer ce sondage{/if} + Proposer ce sondage | - {icon name=cross} Annuler - {if $survey_updatemode}les modifications{else}totalement la création de ce sondage{/if} + {icon name=cross} + Annuler totalement la création de ce sondage {elseif $survey_adminmode} {if !$survey.valid}Valider ce sondage | {/if}