X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fplatal%2Freview.tpl;h=3e0b48d6431916cb57ab6e7992e2521dc76fca31;hb=1db75748d39cb4ee8314ff234a55bb732e871eeb;hp=c43d65ee548da9f1dcbeb624fa957dd951bfdf96;hpb=ddb649901f5a88d695a7050f2a59da140842ec89;p=platal.git diff --git a/templates/platal/review.tpl b/templates/platal/review.tpl index c43d65e..3e0b48d 100644 --- a/templates/platal/review.tpl +++ b/templates/platal/review.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2008 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,8 +20,18 @@ {* *} {**************************************************************************} -
- {include wiki=$article} + +{if $cacheExists} +{include wiki=$article} +{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

+{/if} {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}