diff options
author | Joey Hess <joey@kitenet.net> | 2010-10-08 17:54:12 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-10-08 17:54:12 -0400 |
commit | 84111d96c461a5d31a615ebf64cae751e6fd9aef (patch) | |
tree | c816fc340bd318eda018da949317d5e8787f595f /templates | |
parent | 594eb32780466e89390bacc61f8c28b1d4ca9f0b (diff) |
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.tmpl | 2 |
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> |