summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/change.tmpl19
1 files changed, 10 insertions, 9 deletions
diff --git a/templates/change.tmpl b/templates/change.tmpl
index 1d1a17516..845677cce 100644
--- a/templates/change.tmpl
+++ b/templates/change.tmpl
@@ -7,12 +7,13 @@
<span class="desc"><br />Changed pages:</span>
<span class="pagelinks">
<TMPL_LOOP NAME="PAGES">
- <TMPL_IF NAME="DIFFURL">
- <a href="<TMPL_VAR DIFFURL>">
- <img alt="diff" src="<TMPL_VAR BASEURL>wikiicons/diff.png" />
- </a>
- </TMPL_IF>
- <TMPL_VAR LINK>
+<TMPL_IF NAME="DIFFURL">
+<a href="<TMPL_VAR DIFFURL>">
+<img alt="diff" src="<TMPL_VAR BASEURL>wikiicons/diff.png" />
+</a><TMPL_VAR LINK>
+<TMPL_ELSE>
+<TMPL_VAR LINK>
+</TMPL_IF>
</TMPL_LOOP>
</span>
<span class="desc"><br />Changed by:</span>
@@ -30,9 +31,9 @@
</div>
<div class=changelog>
<TMPL_LOOP NAME="MESSAGE">
- <TMPL_IF NAME="LINE">
- <TMPL_VAR NAME="LINE" ESCAPE="HTML"><br />
- </TMPL_IF>
+<TMPL_IF NAME="LINE">
+<TMPL_VAR NAME="LINE" ESCAPE="HTML"><br />
+</TMPL_IF>
</TMPL_LOOP>
</div>
<!-- <TMPL_VAR REV> -->