Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into debian-jessie-backports
[git.ikiwiki.info.git]
/
templates
/
change.tmpl
diff --git
a/templates/change.tmpl
b/templates/change.tmpl
index c9e1a60d6218b02a51ea4b1f027b2977c91562ff..cb022220e9510ab81ec2896d0ae5a396f71b9232 100644
(file)
--- a/
templates/change.tmpl
+++ b/
templates/change.tmpl
@@
-2,25
+2,27
@@
<TMPL_IF AUTHORURL>
[[!meta authorurl="""<TMPL_VAR AUTHORURL>"""]]
</TMPL_IF>
<TMPL_IF AUTHORURL>
[[!meta authorurl="""<TMPL_VAR AUTHORURL>"""]]
</TMPL_IF>
-[[!meta title="""change to<TMPL_LOOP
NAME="PAGES"
> <TMPL_VAR PAGE></TMPL_LOOP> on <TMPL_VAR WIKINAME>"""]]
+[[!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">
<TMPL_IF PERMALINK>
[[!meta permalink="<TMPL_VAR PERMALINK>"]]
</TMPL_IF>
<div id="change-<TMPL_VAR REV>" class="metadata">
-<div class="metadata">
<span class="desc"><br />Changed pages:</span>
<span class="pagelinks">
<span class="desc"><br />Changed pages:</span>
<span class="pagelinks">
-<TMPL_LOOP NAME="PAGES">
-<TMPL_IF NAME="DIFFURL"><a href="<TMPL_VAR DIFFURL>">[[diff|wikiicons/diff.png]]</a><TMPL_VAR LINK>
-<TMPL_ELSE>
-<TMPL_VAR LINK>
+<TMPL_UNLESS HAS_DIFFURL>
+<TMPL_IF DIFF>
+<a href="#diff-<TMPL_VAR REV>" class="toggle" title="diff" rel="nofollow">[[diff|wikiicons/diff.png]]</a>
</TMPL_IF>
</TMPL_IF>
+</TMPL_UNLESS>
+<TMPL_LOOP PAGES>
+<TMPL_IF DIFFURL><a href="<TMPL_VAR DIFFURL>" title="diff" rel="nofollow">[[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_LOOP>
</span>
<span class="desc"><br />Changed by:</span>
<span class="committer">
-<TMPL_IF
NAME="AUTHORURL"
>
-<a href="<TMPL_VAR AUTHORURL>"><TMPL_VAR USER></a>
+<TMPL_IF
AUTHORURL
>
+<a href="<TMPL_VAR AUTHORURL>"
rel="nofollow"
><TMPL_VAR USER></a>
<TMPL_ELSE>
<TMPL_VAR USER>
</TMPL_IF>
<TMPL_ELSE>
<TMPL_VAR USER>
</TMPL_IF>
@@
-28,19
+30,27
@@
<span class="desc"><br />Commit type:</span>
<span class="committype"><TMPL_VAR COMMITTYPE></span>
<span class="desc"><br />Date:</span>
<span class="desc"><br />Commit type:</span>
<span class="committype"><TMPL_VAR COMMITTYPE></span>
<span class="desc"><br />Date:</span>
-<span class="changedate"><span class="date" title="<TMPL_VAR COMMITDATE_RAW>"><TMPL_VAR COMMITDATE></span></span>
+<span class="changedate"><TMPL_VAR COMMITDATE></span>
+<span class="desc"><br /></span>
+<TMPL_IF REVERTURL><span class="revert">
+<a href="<TMPL_VAR REVERTURL>" title="revert" rel="nofollow">[[revert|wikiicons/revert.png]]</a>
+</span></TMPL_IF>
</div>
</div>
-<div class=
changelog
>
-<TMPL_LOOP
NAME="MESSAGE"
>
-<TMPL_IF
NAME="LINE"
>
-<TMPL_VAR
NAME="LINE" ESCAPE="HTML"
><br />
+<div class=
"changelog"
>
+<TMPL_LOOP
MESSAGE
>
+<TMPL_IF
LINE
>
+<TMPL_VAR
LINE
><br />
</TMPL_IF>
</TMPL_LOOP>
</div>
</TMPL_IF>
</TMPL_LOOP>
</div>
-<TMPL_IF NAME="DIFF">
-<div class=diff>
+<TMPL_IF DIFF>
+<TMPL_IF HAS_DIFFURL>
+<div class="diff">
+<TMPL_ELSE>
+<div class="toggleable" id="diff-<TMPL_VAR REV>">
+</TMPL_IF>
<pre>
<pre>
-<TMPL_VAR
NAME="DIFF" ESCAPE="HTML"
>
+<TMPL_VAR
DIFF
>
</pre>
</div>
</TMPL_IF>
</pre>
</div>
</TMPL_IF>