avoid unnecessary variable
[ikiwiki] / templates / change.tmpl
1 [[!meta author="""<TMPL_VAR AUTHOR>"""]]
2 <TMPL_IF AUTHORURL>
3 [[!meta authorurl="""<TMPL_VAR AUTHORURL>"""]]
4 </TMPL_IF>
5 [[!meta title="""change to<TMPL_LOOP NAME="PAGES"> <TMPL_VAR PAGE></TMPL_LOOP> on <TMPL_VAR WIKINAME>"""]]
6 <TMPL_IF PERMALINK>
7 [[!meta permalink="<TMPL_VAR PERMALINK>"]]
8 </TMPL_IF>
9 <div id="change-<TMPL_VAR REV>" class="metadata">
10 <span class="desc"><br />Changed pages:</span>
11 <span class="pagelinks">
12 <TMPL_LOOP NAME="PAGES">
13 <TMPL_IF NAME="DIFFURL"><a href="<TMPL_VAR DIFFURL>">[[diff|wikiicons/diff.png]]</a><TMPL_VAR LINK>
14 <TMPL_ELSE>
15 <TMPL_VAR LINK>
16 </TMPL_IF>
17 </TMPL_LOOP>
18 </span>
19 <span class="desc"><br />Changed by:</span>
20 <span class="committer">
21 <TMPL_IF NAME="AUTHORURL">
22 <a href="<TMPL_VAR AUTHORURL>" rel="nofollow"><TMPL_VAR USER></a>
23 <TMPL_ELSE>
24 <TMPL_VAR USER>
25 </TMPL_IF>
26 </span>
27 <span class="desc"><br />Commit type:</span>
28 <span class="committype"><TMPL_VAR COMMITTYPE></span>
29 <span class="desc"><br />Date:</span>
30 <span class="changedate"><TMPL_VAR COMMITDATE>
31 </div>
32 <div class=changelog>
33 <TMPL_LOOP NAME="MESSAGE">
34 <TMPL_IF NAME="LINE">
35 <TMPL_VAR NAME="LINE"><br />
36 </TMPL_IF>
37 </TMPL_LOOP>
38 </div>
39 <TMPL_IF NAME="DIFF">
40 <div class=diff>
41 <pre>
42 <TMPL_VAR NAME="DIFF">
43 </pre>
44 </div>
45 </TMPL_IF>
46 <!-- <TMPL_VAR REV> -->