web commit by http://edward.myopenid.com/: prefix diff with a tab on each line so...
[ikiwiki.git] / templates / change.tmpl
index f9941ae70a4932e54c30681fb108f6cb0297b2d8..16ef08a855148f307980e63a6e21a5957f74f34c 100644 (file)
@@ -7,20 +7,18 @@
 <span class="desc"><br />Changed pages:</span>
 <span class="pagelinks">
 <TMPL_LOOP NAME="PAGES">
-       <TMPL_IF NAME="DIFFURL">
-               <a href="<TMPL_VAR NAME="DIFFURL">">
-               <img alt="diff" src="wikiicons/diff.png" />
-               </a>
-       </TMPL_IF>
-       <TMPL_VAR LINK>
+<TMPL_IF NAME="DIFFURL"><a href="<TMPL_VAR DIFFURL>"><img alt="diff" src="<TMPL_VAR BASEURL>wikiicons/diff.png" /></a><TMPL_VAR LINK>
+<TMPL_ELSE>
+<TMPL_VAR LINK>
+</TMPL_IF>
 </TMPL_LOOP>
 </span>
 <span class="desc"><br />Changed by:</span>
 <span class="committer">
 <TMPL_IF NAME="AUTHORURL">
-<a href="<TMPL_VAR NAME=AUTHORURL>"><TMPL_VAR NAME=USER></a>
+<a href="<TMPL_VAR AUTHORURL>"><TMPL_VAR USER></a>
 <TMPL_ELSE>
-<TMPL_VAR NAME=USER>
+<TMPL_VAR USER>
 </TMPL_IF>
 </span>
 <span class="desc"><br />Commit type:</span>
@@ -30,9 +28,9 @@
 </div>
 <div class=changelog>
 <TMPL_LOOP NAME="MESSAGE">
-       <TMPL_IF NAME="LINE">
-               <TMPL_VAR NAME="LINE" ESCAPE="HTML"><br />
-       </TMPL_IF>
+<TMPL_IF NAME="LINE">
+<TMPL_VAR NAME="LINE" ESCAPE="HTML"><br />
+</TMPL_IF>
 </TMPL_LOOP>
 </div>
-<!-- <TMPL_VAR NAME="REV"> -->
+<!-- <TMPL_VAR REV> -->