save point

This commit is contained in:
Lance Edgar 2012-04-10 22:28:02 -05:00
parent b28631d421
commit 523d7de3e7
13 changed files with 556 additions and 226 deletions

View file

@ -4,7 +4,7 @@
<%def name="crud_name()">Batch</%def>
<%def name="menu()">
<p>${h.link_to("Back to Batches", url('batches'))}</p>
<p>${h.link_to("Back to Batches", url('batch.list'))}</p>
% if fieldset.edit and fieldset.model.rowcount:
<p>${h.link_to("View Batch Details", url('batch.details', uuid=fieldset.model.uuid))}</p>
% endif

View file

@ -4,8 +4,8 @@
<%def name="title()">Batch : ${batch.name}</%def>
<%def name="menu()">
<p>${h.link_to("Back to Batches", url('batches'))}</p>
<p>${h.link_to("View Batch Properties", url('batch') + '?uuid=' + batch.uuid)}</p>
<p>${h.link_to("Back to Batches", url('batch.list'))}</p>
<p>${h.link_to("View Batch Properties", url('batch.edit', uuid=batch.uuid))}</p>
<p>${h.link_to("Execute this Batch", url('batch.execute', uuid=batch.uuid))}</p>
</%def>

View file

@ -4,8 +4,8 @@
<%def name="title()">Batches</%def>
<%def name="menu()">
<p>${h.link_to("Create a New Batch", url('batch'))}</p>
<p>${h.link_to("Manage Terminals", url('batch_terminals'))}</p>
## <p>${h.link_to("Create a New Batch", url('batch.new'))}</p>
<p>${h.link_to("Manage Terminals", url('batch_terminal.list'))}</p>
<p>${h.link_to("View Dictionaries", url('batch_dictionaries'))}</p>
<p>${h.link_to("SIL Columns", url('sil_columns'))}</p>
</%def>

View file

@ -2,12 +2,8 @@
<%inherit file="/crud.mako" />
<%def name="menu()">
<p>${h.link_to("Back to Batches", url('batches'))}</p>
<p>${h.link_to("Back to Batch Terminals", url('batch_terminals'))}</p>
<p>${h.link_to("Back to Batches", url('batch.list'))}</p>
<p>${h.link_to("Back to Batch Terminals", url('batch_terminal.list'))}</p>
</%def>
${parent.body()}
% if fieldset.edit:
${terminal_columns|n}
% endif

View file

@ -1,17 +0,0 @@
<h2>Supported Columns</h2>
<table class="fieldset">
<tr class="source_columns">
<td class="label">Source</td>
<td>
${source|n}
</td>
</tr>
<tr class="target_columns">
<td class="label">Target</td>
<td>
${target|n}
</td>
</tr>
</table>

View file

@ -4,8 +4,8 @@
<%def name="title()">Batch Terminals</%def>
<%def name="menu()">
<p>${h.link_to("Back to Batches", url('batches'))}</p>
<p>${h.link_to("Create a New Terminal", url('batch_terminal'))}</p>
<p>${h.link_to("Back to Batches", url('batch.list'))}</p>
<p>${h.link_to("Create a New Terminal", url('batch_terminal.new'))}</p>
</%def>
${parent.body()}