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:
Lance Edgar 2024-06-02 15:54:42 -05:00
parent 254df6d6f2
commit fa25857680
11 changed files with 92 additions and 54 deletions

View file

@ -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()}