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
Rebuild for jessie-backports, no source changes (Closes: #807452)
[git.ikiwiki.info.git]
/
templates
/
change.tmpl
diff --git
a/templates/change.tmpl
b/templates/change.tmpl
index 9cf40777b62c11cbca2fe23bcedea89f2e0fe822..cb022220e9510ab81ec2896d0ae5a396f71b9232 100644
(file)
--- a/
templates/change.tmpl
+++ b/
templates/change.tmpl
@@
-9,11
+9,14
@@
<div id="change-<TMPL_VAR REV>" class="metadata">
<span class="desc"><br />Changed pages:</span>
<span class="pagelinks">
<div id="change-<TMPL_VAR REV>" class="metadata">
<span class="desc"><br />Changed pages:</span>
<span class="pagelinks">
-<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_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>
</TMPL_LOOP>
</span>
<span class="desc"><br />Changed by:</span>
@@
-29,7
+32,9
@@
<span class="desc"><br />Date:</span>
<span class="changedate"><TMPL_VAR COMMITDATE></span>
<span class="desc"><br /></span>
<span class="desc"><br />Date:</span>
<span class="changedate"><TMPL_VAR COMMITDATE></span>
<span class="desc"><br /></span>
-<span class="revert"><a href="<TMPL_VAR REVERTURL>" rel="nofollow">[[revert|wikiicons/revert.png]]</a></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 class="changelog">
<TMPL_LOOP MESSAGE>
</div>
<div class="changelog">
<TMPL_LOOP MESSAGE>
@@
-39,7
+44,11
@@
</TMPL_LOOP>
</div>
<TMPL_IF DIFF>
</TMPL_LOOP>
</div>
<TMPL_IF DIFF>
+<TMPL_IF HAS_DIFFURL>
<div class="diff">
<div class="diff">
+<TMPL_ELSE>
+<div class="toggleable" id="diff-<TMPL_VAR REV>">
+</TMPL_IF>
<pre>
<TMPL_VAR DIFF>
</pre>
<pre>
<TMPL_VAR DIFF>
</pre>