Fix some bugs etc. with batch views and templates
This commit is contained in:
parent
f97b26506f
commit
37be76cc84
3 changed files with 16 additions and 9 deletions
|
@ -46,7 +46,7 @@
|
|||
<%def name="leading_buttons()"></%def>
|
||||
|
||||
<%def name="refresh_button()">
|
||||
% if master.viewing and master.batch_refreshable(batch):
|
||||
% if master.viewing and master.batch_refreshable(batch) and request.has_perm('{}.refresh'.format(permission_prefix)):
|
||||
<button type="button" id="refresh-data">Refresh data</button>
|
||||
% endif
|
||||
</%def>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue