X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=inline;f=templates%2Fplatal%2Freview.tpl;h=1b91280b05e50fd2710a78feef17255108f9b7b6;hb=78cf64382a4b9e36a7640700b6680a7640e0f52c;hp=daddfd6e2c6fc570d297ba583af3969adff28309;hpb=16703e553d2616c5a8c20a0ed11dd985552f8991;p=platal.git diff --git a/templates/platal/review.tpl b/templates/platal/review.tpl index daddfd6..1b91280 100644 --- a/templates/platal/review.tpl +++ b/templates/platal/review.tpl @@ -20,9 +20,15 @@ {* *} {**************************************************************************} + {if $cacheExists} {include wiki=$article} -{elseif $smarty.session.perms->hasFlag('admin')} +{if hasPerm('admin')} +
+ {icon name="page_edit" title="Editer la page"} Mettre à jour la page +
+{/if} +{elseif hasPerm('admin')} La page wiki associée n'existe pas. Il faut l'éditer. {else}

La page n'existe pas