aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAntoine Beaupré <anarcat@koumbit.org>2012-07-19 10:23:25 -0400
committerAntoine Beaupré <anarcat@koumbit.org>2012-07-19 10:23:25 -0400
commit12fa9c031f7a9dc25dba628aa91fc347586e4ab6 (patch)
tree11cf94880bc8d50b3611a2de09f5c592a53c926a /templates
parent03a689b954070ec77162ba5794dc859b1e0c5503 (diff)
downloadikiwiki-12fa9c031f7a9dc25dba628aa91fc347586e4ab6.tar
ikiwiki-12fa9c031f7a9dc25dba628aa91fc347586e4ab6.tar.gz
do not display two glasses
we display the inline diff only if diffurl isn't defined
Diffstat (limited to 'templates')
-rw-r--r--templates/change.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/change.tmpl b/templates/change.tmpl
index de47f735e..1751a39b5 100644
--- a/templates/change.tmpl
+++ b/templates/change.tmpl
@@ -41,6 +41,7 @@
</TMPL_IF>
</TMPL_LOOP>
</div>
+<TMPL_UNLESS DIFFURL>
<TMPL_IF DIFF>
<div class="toggleable" id="diff-<TMPL_VAR REV>">
<pre>
@@ -48,4 +49,5 @@
</pre>
</div>
</TMPL_IF>
+</TMPL_UNLESS>
<!-- <TMPL_VAR REV> -->