test
[ikiwiki.git] / templates / change.tmpl
index 9dbc97ec2dcb0cdafffec852752d116308075978..e25cbf3b897303c9bf63517116ce441600cd7a96 100644 (file)
@@ -1,27 +1,38 @@
+[[meta author="""<TMPL_VAR USER>"""]]
+<TMPL_IF 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>"""]]
+<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 NAME="DIFFURL">">
+               <img alt="diff" src="wikiicons/diff.png" />
+               </a>
+       </TMPL_IF>
+       <TMPL_VAR LINK>
+</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>
+<TMPL_ELSE>
+<TMPL_VAR NAME=USER>
+</TMPL_IF>
+</span>
+<span class="desc"><br />Commit type:</span>
+<span class="committype"><TMPL_VAR COMMITTYPE></span>
+<span class="desc"><br />Date:</span>
+<span class="changedate"><TMPL_VAR COMMITDATE></span>
+</div>
+<div class=changelog>
+<TMPL_LOOP NAME="MESSAGE">
+       <TMPL_IF NAME="LINE">
+               <TMPL_VAR NAME="LINE" ESCAPE="HTML"><br />
+       </TMPL_IF>
+</TMPL_LOOP>
+</div>
 <!-- <TMPL_VAR NAME="REV"> -->
-<tr class="changeinfo">
-       <td class="changeinfo"><TMPL_VAR NAME="USER"></td>
-       <td class="changetime"><TMPL_VAR NAME="WHEN"></td>
-       <td class="changeinfo">
-       <TMPL_LOOP NAME="PAGES">
-               <TMPL_IF NAME="DIFFURL">
-                       <a href="<TMPL_VAR NAME="DIFFURL">">
-                       <img alt="diff" src="wikiicons/diff.png" />
-                       </a>
-                       <TMPL_VAR NAME="LINK">
-               <TMPL_ELSE>
-                       <TMPL_VAR NAME="LINK">
-               </TMPL_IF>
-       </TMPL_LOOP>
-       </td>
-       <td class="changeinfo"><TMPL_VAR NAME="COMMITTYPE"></td>
-</tr>
-<tr>
-       <td class="changelog" colspan="4">
-               <TMPL_LOOP NAME="MESSAGE">
-                       <TMPL_IF NAME="LINE">
-                               <TMPL_VAR NAME="LINE" ESCAPE="HTML"><br />
-                       </TMPL_IF>
-               </TMPL_LOOP>
-       </td>
-</tr>