More tweaks to new master-based batch views, etc.
This commit is contained in:
parent
7ac4af5f34
commit
874fd6d4b3
7 changed files with 79 additions and 17 deletions
|
@ -4,7 +4,9 @@
|
|||
<%def name="title()">New ${model_title}</%def>
|
||||
|
||||
<%def name="context_menu_items()">
|
||||
<li>${h.link_to("Back to {0}".format(model_title_plural), index_url)}</li>
|
||||
% if request.has_perm('{}.list'.format(permission_prefix)):
|
||||
<li>${h.link_to("Back to {}".format(model_title_plural), index_url)}</li>
|
||||
% endif
|
||||
</%def>
|
||||
|
||||
<ul id="context-menu">
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
<%inherit file="/base.mako" />
|
||||
|
||||
<%def name="title()">Delete ${model_title}: ${unicode(instance)}</%def>
|
||||
<%def name="title()">Delete ${model_title}: ${instance_title}</%def>
|
||||
|
||||
<%def name="context_menu_items()">
|
||||
<li>${h.link_to("Back to {}".format(model_title_plural), url(route_prefix))}</li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue