]> ruin.nu Git - ndwebbie.git/blobdiff - root/src/wiki/history.tt2
Don't show edit link on history page unless you have edit access
[ndwebbie.git] / root / src / wiki / history.tt2
index ba63a53ee354deed0558491f7c6ca8c3a6ebc770..c5270f15e620a476348257e262b98a8310aad20b 100644 (file)
@@ -17,4 +17,4 @@
 </table>
 
 <hr>
-<a href="[% c.uri_for('edit',name) %]">Edit this page</a>
+[% IF page.edit %]<a href="[% c.uri_for('edit',page.fullname) %]">Edit this page</a>[% END %]