Hide "execute results" button for handheld batches, unless permissions

This commit is contained in:
Lance Edgar 2017-06-22 02:42:14 -05:00
parent 1ce2f410d0
commit 318189b839

View file

@ -45,7 +45,9 @@
</%def>
<%def name="grid_tools()">
<button type="button" id="execute-results-button">Execute Results</button>
% if request.has_perm('batch.handheld.execute_results'):
<button type="button" id="execute-results-button">Execute Results</button>
% endif
</%def>
${parent.body()}