aboutsummaryrefslogtreecommitdiff
path: root/templates/revert.tmpl
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-10-06 14:59:20 -0400
committerJoey Hess <joey@kitenet.net>2010-10-06 15:00:48 -0400
commitd4fd8cd67dd868ed8b0d51c2d710b834d6a33b05 (patch)
treef1c6e01b37475be73a43c15e99091ae92e65c24b /templates/revert.tmpl
parent7988a5aee3be9fe82da1d47d2a72c95eabc7bb6e (diff)
downloadikiwiki-d4fd8cd67dd868ed8b0d51c2d710b834d6a33b05.tar
ikiwiki-d4fd8cd67dd868ed8b0d51c2d710b834d6a33b05.tar.gz
put diff at end of revert form
Diffstat (limited to 'templates/revert.tmpl')
-rw-r--r--templates/revert.tmpl15
1 files changed, 10 insertions, 5 deletions
diff --git a/templates/revert.tmpl b/templates/revert.tmpl
index 03cd0838d..6289bea6b 100644
--- a/templates/revert.tmpl
+++ b/templates/revert.tmpl
@@ -1,6 +1,3 @@
-<pre>
-<TMPL_VAR patch_contents>
-</pre>
<TMPL_VAR FORM-START>
<div>
<TMPL_VAR FIELD-DO>
@@ -8,7 +5,15 @@
<TMPL_VAR FIELD-REV>
</div>
<div class="revert buttons">
- <TMPL_VAR form-submit>
- <TMPL_VAR form-cancel>
+<TMPL_VAR form-submit>
+<TMPL_VAR form-cancel>
</div>
<TMPL_VAR FORM-END>
+<br \>
+<div class="header">
+<span>Diff being reverted:</span>
+</div>
+<div id="diff">
+<pre>
+<TMPL_VAR diff>
+</pre>