]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - templates/change.tmpl
web commit by http://smcv.pseudorandom.co.uk/
[git.ikiwiki.info.git] / templates / change.tmpl
index 1d1a175161eb2503c987a75cf8b8342fcadc84b8..4a99cf5ff47a457774e686d1cbd0c320c142d363 100644 (file)
@@ -1,18 +1,16 @@
-[[meta author="""<TMPL_VAR AUTHOR>"""]]
+[[!meta author="""<TMPL_VAR AUTHOR>"""]]
 <TMPL_IF AUTHORURL>
-[[meta authorurl="""<TMPL_VAR AUTHORURL>"""]]
+[[!meta authorurl="""<TMPL_VAR AUTHORURL>"""]]
 </TMPL_IF>
-[[meta title="""update of <TMPL_VAR WIKINAME>'s<TMPL_LOOP NAME="PAGES"> <TMPL_VAR PAGE></TMPL_LOOP>"""]]
+[[!meta title="""change to<TMPL_LOOP NAME="PAGES"> <TMPL_VAR PAGE></TMPL_LOOP> on <TMPL_VAR WIKINAME>"""]]
 <div class="metadata">
 <span class="desc"><br />Changed pages:</span>
 <span class="pagelinks">
 <TMPL_LOOP NAME="PAGES">
-       <TMPL_IF NAME="DIFFURL">
-               <a href="<TMPL_VAR DIFFURL>">
-               <img alt="diff" src="<TMPL_VAR BASEURL>wikiicons/diff.png" />
-               </a>
-       </TMPL_IF>
-       <TMPL_VAR LINK>
+<TMPL_IF NAME="DIFFURL"><a href="<TMPL_VAR DIFFURL>">[[diff|wikiicons/diff.png]]</a><TMPL_VAR LINK>
+<TMPL_ELSE>
+<TMPL_VAR LINK>
+</TMPL_IF>
 </TMPL_LOOP>
 </span>
 <span class="desc"><br />Changed by:</span>
 </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_IF NAME="DIFF">
+<div class=diff>
+<pre>
+<TMPL_VAR NAME="DIFF" ESCAPE="HTML">
+</pre>
+</div>
+</TMPL_IF>
 <!-- <TMPL_VAR REV> -->