summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-09-23 19:21:05 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-09-23 19:21:05 -0400
commit40dc92a67bf28b4d532b1318a96fa3daae77e4f1 (patch)
tree1151e002af7a3f0e43fa551523c7f53435707b6f /templates
parent544da9b0daf15b1d634d8f9b449ea94024ab551a (diff)
multiple rename support is working
most edge cases seem handled too
Diffstat (limited to 'templates')
-rw-r--r--templates/renamesummary.tmpl9
1 files changed, 7 insertions, 2 deletions
diff --git a/templates/renamesummary.tmpl b/templates/renamesummary.tmpl
index e165e81b3..60f81b35b 100644
--- a/templates/renamesummary.tmpl
+++ b/templates/renamesummary.tmpl
@@ -1,3 +1,9 @@
+<TMPL_IF ERROR>
+<p>
+<b>Failed to rename <TMPL_VAR SRC> to <TMPL_VAR DEST>: </b>
+<TMPL_VAR ERROR>
+</p>
+<TMPL_ELSE>
<p>
<b>Successfully renamed <TMPL_VAR SRC> to <TMPL_VAR DEST>.</b>
</p>
@@ -14,8 +20,7 @@ The following pages still link to <TMPL_VAR SRC>:
<ul>
<TMPL_LOOP NAME=BROKENLINKS><li><TMPL_VAR PAGE></li></TMPL_LOOP>
</ul>
-<TMPL_ELSE>
-No pages have broken links to <TMPL_VAR SRC>.
</TMPL_IF>
</TMPL_IF>
</p>
+</TMPL_IF>