From 9653f1a341b526eb25a18a4760ce162fff1f49fb Mon Sep 17 00:00:00 2001 From: Loic d'Anterroches Date: Sat, 20 Feb 2010 13:03:06 +0100 Subject: [PATCH] Correctly display the delete page link only to users with correct rights. --- src/IDF/templates/idf/wiki/update.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/IDF/templates/idf/wiki/update.html b/src/IDF/templates/idf/wiki/update.html index 6bfbd3c..b489447 100644 --- a/src/IDF/templates/idf/wiki/update.html +++ b/src/IDF/templates/idf/wiki/update.html @@ -57,9 +57,9 @@   {* float left is a fix for Firefox < 3.5 *} -   | {trans 'Cancel'} +   | {trans 'Cancel'}{if $isOwner or $isAdmin or $isMember} {aurl 'url', 'IDF_Views_Wiki::delete', array($project.shortname, $page.id)} -{trans 'Trash'} {trans 'Delete this page'} +{trans 'Trash'} {trans 'Delete this page'}{/if}