Add "most of" support for truck dump receiving

still not complete, but conceptually it sort of is...
This commit is contained in:
Lance Edgar 2018-05-18 15:51:47 -05:00
parent 805a1afa3f
commit cd7922f204
8 changed files with 368 additions and 76 deletions

View file

@ -61,7 +61,13 @@
<%def name="execute_button()">
% if not batch.executed and request.has_perm('{}.execute'.format(permission_prefix)):
<button type="button" id="execute-batch"${'' if execute_enabled else ' disabled="disabled"'}>${execute_title}</button>
% if execute_enabled:
<button type="button" id="execute-batch">${execute_title}</button>
% elif why_not_execute:
<button type="button" id="execute-batch" disabled="disabled" title="${why_not_execute}">${execute_title}</button>
% else:
<button type="button" id="execute-batch" disabled="disabled">${execute_title}</button>
% endif
% endif
</%def>