aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-10-08 17:54:12 -0400
committerJoey Hess <joey@kitenet.net>2010-10-08 17:54:12 -0400
commit84111d96c461a5d31a615ebf64cae751e6fd9aef (patch)
treec816fc340bd318eda018da949317d5e8787f595f /templates
parent594eb32780466e89390bacc61f8c28b1d4ca9f0b (diff)
downloadikiwiki-84111d96c461a5d31a615ebf64cae751e6fd9aef.tar
ikiwiki-84111d96c461a5d31a615ebf64cae751e6fd9aef.tar.gz
make revert hooks optional
I removed the IkiWiki::rcs_ stubs for the revert hooks. Instead recentchanges tests to see if the hooks are available and calls them directly.
Diffstat (limited to 'templates')
-rw-r--r--templates/change.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/change.tmpl b/templates/change.tmpl
index 4525402a7..60a9d94b5 100644
--- a/templates/change.tmpl
+++ b/templates/change.tmpl
@@ -28,9 +28,11 @@
<span class="changedate"><TMPL_VAR COMMITDATE></span>
<span class="desc"><br /></span>
</div>
+<TMPL_IF REVERTURL>
<span class="revert">
<a href="<TMPL_VAR REVERTURL>" title="revert" rel="nofollow">[[revert|wikiicons/revert.png]]</a>
</span>
+</TMPL_IF>
<div class="changelog">
<TMPL_LOOP MESSAGE>
<TMPL_IF LINE>