X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/64a8c828b8cfa342118dd6e28b9dff43d83c6311..96c7e31c34b10e343afb3f17eb1ca7c34aaa4123:/templates/change.tmpl diff --git a/templates/change.tmpl b/templates/change.tmpl index f9941ae70..671b9e483 100644 --- a/templates/change.tmpl +++ b/templates/change.tmpl @@ -1,26 +1,27 @@ -[[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>"""]] -<div class="metadata"> +[[!meta title="""change to<TMPL_LOOP PAGES> <TMPL_VAR PAGE></TMPL_LOOP> on <TMPL_VAR WIKINAME>"""]] +<TMPL_IF PERMALINK> +[[!meta permalink="<TMPL_VAR PERMALINK>"]] +</TMPL_IF> +<div id="change-<TMPL_VAR REV>" 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 PAGES> +<TMPL_IF 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> <span class="committer"> -<TMPL_IF NAME="AUTHORURL"> -<a href="<TMPL_VAR NAME=AUTHORURL>"><TMPL_VAR NAME=USER></a> +<TMPL_IF AUTHORURL> +<a href="<TMPL_VAR AUTHORURL>" rel="nofollow"><TMPL_VAR USER></a> <TMPL_ELSE> -<TMPL_VAR NAME=USER> +<TMPL_VAR USER> </TMPL_IF> </span> <span class="desc"><br />Commit type:</span> @@ -28,11 +29,18 @@ <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> +<div class="changelog"> +<TMPL_LOOP MESSAGE> +<TMPL_IF LINE> +<TMPL_VAR LINE><br /> +</TMPL_IF> </TMPL_LOOP> </div> -<!-- <TMPL_VAR NAME="REV"> --> +<TMPL_IF DIFF> +<div class="diff"> +<pre> +<TMPL_VAR DIFF> +</pre> +</div> +</TMPL_IF> +<!-- <TMPL_VAR REV> -->