Only show Restart Filemon button if so configured
otherwise everyone would need to include that view in their config
This commit is contained in:
parent
2131ea65cb
commit
1123cbb728
2 changed files with 5 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
|||
${h.end_form()}
|
||||
% endif
|
||||
|
||||
% if request.has_perm('filemon.restart'):
|
||||
% if allow_filemon_restart and request.has_perm('filemon.restart'):
|
||||
${h.form(url('filemon.restart'), name='restart-filemon', class_='autodisable')}
|
||||
${h.csrf_token(request)}
|
||||
${h.submit('submit', "Restart FileMon", data_working_label="Restarting FileMon")}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue