make revert hooks optional
[ikiwiki.git] / templates / revert.tmpl
index 03cd0838db28917e799851e137c1ae7c803f9ceb..6289bea6baff0b5cf77a4b372586567aca305ae6 100644 (file)
@@ -1,6 +1,3 @@
-<pre>
-<TMPL_VAR patch_contents>
-</pre>
 <TMPL_VAR FORM-START>
 <div>
  <TMPL_VAR FIELD-DO>
 <TMPL_VAR FORM-START>
 <div>
  <TMPL_VAR FIELD-DO>
@@ -8,7 +5,15 @@
  <TMPL_VAR FIELD-REV>
 </div>
 <div class="revert buttons">
  <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>
 </div>
 <TMPL_VAR FORM-END>
+<br \>
+<div class="header">
+<span>Diff being reverted:</span>
+</div>
+<div id="diff">
+<pre>
+<TMPL_VAR diff>
+</pre>