move the diff button alongside the others
authorAntoine Beaupré <anarcat@koumbit.org>
Sat, 3 Mar 2012 21:27:41 +0000 (16:27 -0500)
committerAntoine Beaupré <anarcat@koumbit.org>
Thu, 19 Jul 2012 14:21:22 +0000 (10:21 -0400)
templates/change.tmpl

index 3fa327481f23567ce2a3a4e98e82063bc65f35b7..de47f735eb824d20d440fbdbaf68d154e8edef8d 100644 (file)
@@ -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>