refactored batches.list route a bit

This commit is contained in:
Lance Edgar 2012-04-21 12:48:06 -05:00
parent 675c4deb63
commit 6bf3fd5886
9 changed files with 24 additions and 19 deletions

View file

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

View file

@ -4,7 +4,7 @@
<%def name="title()">Batch : ${batch.name}</%def>
<%def name="menu()">
<p>${h.link_to("Back to Batches", url('batch.list'))}</p>
<p>${h.link_to("Back to Batches", url('batches.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,7 +4,7 @@
<%def name="title()">Batch Dictionaries</%def>
<%def name="menu()">
<p>${h.link_to("Back to Batches", url('batch.list'))}</p>
<p>${h.link_to("Back to Batches", url('batches.list'))}</p>
## <p>${h.link_to("Create a New Dictionary", url('batch_dictionary'))}</p>
</%def>

View file

@ -2,7 +2,7 @@
<%inherit file="/crud.mako" />
<%def name="menu()">
<p>${h.link_to("Back to Batches", url('batch.list'))}</p>
<p>${h.link_to("Back to Batches", url('batches.list'))}</p>
<p>${h.link_to("Back to Dictionaries", url('batch_dictionaries'))}</p>
</%def>

View file

@ -2,7 +2,7 @@
<%inherit file="/crud.mako" />
<%def name="menu()">
<p>${h.link_to("Back to Batches", url('batch.list'))}</p>
<p>${h.link_to("Back to Batches", url('batches.list'))}</p>
<p>${h.link_to("Back to SIL Columns", url('sil_columns'))}</p>
</%def>

View file

@ -4,7 +4,7 @@
<%def name="title()">SIL Columns</%def>
<%def name="menu()">
<p>${h.link_to("Back to Batches", url('batch.list'))}</p>
<p>${h.link_to("Back to Batches", url('batches.list'))}</p>
</%def>
${parent.body()}

View file

@ -2,7 +2,7 @@
<%inherit file="/crud.mako" />
<%def name="menu()">
<p>${h.link_to("Back to Batches", url('batch.list'))}</p>
<p>${h.link_to("Back to Batches", url('batches.list'))}</p>
<p>${h.link_to("Back to Batch Terminals", url('batch_terminals'))}</p>
</%def>

View file

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