aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAntoine Beaupré <anarcat@koumbit.org>2012-03-03 16:27:41 -0500
committerAntoine Beaupré <anarcat@koumbit.org>2012-07-19 10:21:22 -0400
commit03a689b954070ec77162ba5794dc859b1e0c5503 (patch)
treef7f29943db1f0e04a1684fffe6bf39e9425c3611 /templates
parentda53c5d505bb7b30940339bc2e3ae6604e91c861 (diff)
downloadikiwiki-03a689b954070ec77162ba5794dc859b1e0c5503.tar
ikiwiki-03a689b954070ec77162ba5794dc859b1e0c5503.tar.gz
move the diff button alongside the others
Diffstat (limited to 'templates')
-rw-r--r--templates/change.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/change.tmpl b/templates/change.tmpl
index 3fa327481..de47f735e 100644
--- a/templates/change.tmpl
+++ b/templates/change.tmpl
@@ -9,6 +9,9 @@
<div id="change-<TMPL_VAR REV>" class="metadata">
<span class="desc"><br />Changed pages:</span>
<span class="pagelinks">
+<TMPL_IF DIFF>
+<a href="#diff-<TMPL_VAR REV>" class="toggle" title="revert" rel="nofollow">[[diff|wikiicons/diff.png]]</a>
+</TMPL_IF>
<TMPL_LOOP PAGES>
<TMPL_IF DIFFURL><a href="<TMPL_VAR DIFFURL>" title="diff" rel="nofollow">[[diff|wikiicons/diff.png]]</a><TMPL_VAR LINK>
<TMPL_ELSE><TMPL_VAR LINK></TMPL_IF>
@@ -28,9 +31,6 @@
<span class="changedate"><TMPL_VAR COMMITDATE></span>
<span class="desc"><br /></span>
<TMPL_IF REVERTURL><span class="revert">
-<TMPL_IF DIFF>
-<a href="#diff-<TMPL_VAR REV>" class="toggle" title="revert" rel="nofollow">[[diff|wikiicons/diff.png]]</a>
-</TMPL_IF>
<a href="<TMPL_VAR REVERTURL>" title="revert" rel="nofollow">[[revert|wikiicons/revert.png]]</a>
</span></TMPL_IF>
</div>