Add 'restartable tempmon client' conditional logic
This commit is contained in:
parent
16f00b02df
commit
aa9c7abdb5
2 changed files with 17 additions and 8 deletions
|
@ -15,7 +15,7 @@
|
|||
|
||||
${parent.body()}
|
||||
|
||||
% if instance.enabled and request.has_perm('tempmon.clients.restart'):
|
||||
% if instance.enabled and master.restartable_client(instance) and request.has_perm('tempmon.clients.restart'):
|
||||
<div class="buttons">
|
||||
<button type="button" id="restart-client">Restart this Client</button>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue