make revert hooks optional
[ikiwiki.git] / templates / revert.tmpl
index 3cf069dcae4f74335269e34eb5d0265748b9489e..6289bea6baff0b5cf77a4b372586567aca305ae6 100644 (file)
@@ -1,13 +1,19 @@
-<pre>
-<TMPL_VAR patch_contents>
-</pre>
 <TMPL_VAR FORM-START>
 <div>
  <TMPL_VAR FIELD-DO>
  <TMPL_VAR FIELD-SID>
+ <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>