Fix permission check for input file template links
This commit is contained in:
parent
c2d76966a3
commit
7b7eee92cd
|
@ -165,7 +165,7 @@
|
|||
% if not use_buefy and master.configurable and master.has_perm('configure'):
|
||||
<li>${h.link_to("Configure {}".format(config_title), url('{}.configure'.format(route_prefix)))}</li>
|
||||
% endif
|
||||
% if master.has_input_file_templates and master.has_perm('download_template'):
|
||||
% if master.has_input_file_templates and master.has_perm('create'):
|
||||
% for template in six.itervalues(input_file_templates):
|
||||
<li>${h.link_to("Download {} Template".format(template['label']), template['effective_url'])}</li>
|
||||
% endfor
|
||||
|
|
Loading…
Reference in a new issue