Commit 4f7e4b2d authored by Jim Fulton's avatar Jim Fulton

Updated format per Paul's request and fixed batch processing.

parent 7297a46f
......@@ -5,51 +5,63 @@
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555" ALINK="#77003B">
<!--#var manage_tabs-->
<P>
<FORM ACTION="manage_undo_transactions" METHOD="POST">
This application's transactional feature allows you to easily undo changes
made to the application's settings or data. You can revert the application
to a &quot;snapshot&quot; of it's state at a previous point in time.
<P>
Select one or more transactions below and then click on the &quot;Undo&quot;
button to undo the transactions. Note that even though a transaction
is shown below, you will not be able to undo it if later transactions
modified objects that were modified by the transaction.
<table>
<tr><td colspan=2 align=center><INPUT TYPE="SUBMIT" VALUE=" Undo "></td></tr>
<tr><td></td></tr>
<!--#if first_transaction-->
<tr><td colspan=2 align=center>
<a href="manage_UndoForm?first_transaction:int=<!--#var
expr="first_transaction*2-last_transaction"
-->&last_transaction:int=<!--#var first_transaction-->">
Later Transactions</h>
</td></tr>
<!--#/if-->
<!--#in undoable_transactions mapping-->
<tr>
<td valign=top><input type=checkbox name="transaction_info:list"
value="<!--#var id--> <!--#var pos-->"></td>
<td valign=top>
<strong><!--#var desc--></strong> by <strong><!--#var user--></strong>
(<!--#var path-->) on
<!--#var time fmt=Mon--> <!--#var time fmt=day--> at
<!--#var time fmt=Time-->
</td>
</tr>
<!--#/in-->
<tr><td colspan=2 align=center>
<!--#if last_transaction-->
<a href="manage_UndoForm?first_transaction:int=<!--#var
last_transaction-->&last_transaction:int=<!--#var
expr="last_transaction*2-first_transaction"-->">
<!--#else-->
<a href="manage_UndoForm?first_transaction:int=20&last_transaction:int=40">
<!--#/if-->
Earlier Transactions</h>
</td></tr>
<tr><td></td></tr>
<tr><td colspan=2 align=center><INPUT TYPE="SUBMIT" VALUE=" Undo "></td></tr>
</table>
</FORM>
<!--#if undoable_transactions-->
<FORM ACTION="manage_undo_transactions" METHOD="POST">
This application's transactional feature allows you to easily undo changes
made to the application's settings or data. You can revert the application
to a &quot;snapshot&quot; of it's state at a previous point in time.
<P>
Select one or more transactions below and then click on the &quot;Undo&quot;
button to undo the transactions. Note that even though a transaction
is shown below, you will not be able to undo it if later transactions
modified objects that were modified by the transaction.
<table>
<tr><td colspan=2 align=center><INPUT TYPE="SUBMIT" VALUE=" Undo "></td></tr>
<tr><td></td></tr>
<!--#if first_transaction-->
<tr><td colspan=2 align=center>
<a href="manage_UndoForm?first_transaction:int=<!--#var
expr="first_transaction*2-last_transaction"
-->&last_transaction:int=<!--#var first_transaction-->">
Later Transactions</h>
</td></tr>
<!--#/if-->
<!--#in undoable_transactions mapping-->
<tr>
<td valign=top><input type=checkbox name="transaction_info:list"
value="<!--#var id--> <!--#var pos-->"></td>
<td valign=top>
<strong><!--#var desc--></strong> by <strong>
<!--#if user-->
<strong><!--#if path--><!--#var path-->/<!--#/if--><!--#var user-->
<!--#else-->
<em>Principia</em>
<!--#/if-->
</strong> on <!--#var time fmt=Mon--> <!--#var time fmt=day--> at
<!--#var time fmt=Time-->
</td>
</tr>
<!--#/in-->
<tr><td colspan=2 align=center>
<!--#if expr="_.len(undoable_transactions) == batch_size"-->
<a href="manage_UndoForm?first_transaction:int=<!--#var
last_transaction-->&last_transaction:int=<!--#var
expr="last_transaction+batch_size"-->">
Earlier Transactions</a>
<!--#/if-->
</td></tr>
<tr><td></td></tr>
<tr><td colspan=2 align=center><INPUT TYPE="SUBMIT" VALUE=" Undo "></td></tr>
</table>
</FORM>
<!--#else-->
There are no transactions that can be undone.
<!--#/if-->
</BODY>
</HTML>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment