Add 'restartable tempmon client' conditional logic

This commit is contained in:
Lance Edgar 2016-12-10 11:56:25 -06:00
parent 16f00b02df
commit aa9c7abdb5
2 changed files with 17 additions and 8 deletions

View file

@ -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>