From: Michael Andreen Date: Wed, 13 Aug 2008 06:39:31 +0000 (+0200) Subject: Don't show edit link on history page unless you have edit access X-Git-Url: https://ruin.nu/git/?p=ndwebbie.git;a=commitdiff_plain;h=939a79e79f17557dbf80d38bc37af82b1b15ba4a Don't show edit link on history page unless you have edit access --- diff --git a/root/src/wiki/history.tt2 b/root/src/wiki/history.tt2 index ba63a53..c5270f1 100644 --- a/root/src/wiki/history.tt2 +++ b/root/src/wiki/history.tt2 @@ -17,4 +17,4 @@
-Edit this page +[% IF page.edit %]Edit this page[% END %]