Let master view control context menu items for page
that really does not belong in the template if we can help it. some templates still define context menu items but can hopefully phase those out over time
This commit is contained in:
parent
254df6d6f2
commit
fa25857680
11 changed files with 92 additions and 54 deletions
|
@ -1,13 +1,6 @@
|
|||
## -*- coding: utf-8; -*-
|
||||
<%inherit file="/master/index.mako" />
|
||||
|
||||
<%def name="context_menu_items()">
|
||||
${parent.context_menu_items()}
|
||||
% if request.has_perm('datasync.status'):
|
||||
<li>${h.link_to("View DataSync Status", url('datasync.status'))}</li>
|
||||
% endif
|
||||
</%def>
|
||||
|
||||
<%def name="grid_tools()">
|
||||
${parent.grid_tools()}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue