From 339708463e7b7e88990d180b1b5374601635caf1 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Tue, 6 Dec 2016 21:44:18 +0100 Subject: [PATCH] show some of the worker options only when the worker process is active --- view/templates/admin_site.tpl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/view/templates/admin_site.tpl b/view/templates/admin_site.tpl index fc84f68605..a93e3e4a4d 100644 --- a/view/templates/admin_site.tpl +++ b/view/templates/admin_site.tpl @@ -158,9 +158,11 @@

{{$worker_title}}

{{include file="field_checkbox.tpl" field=$worker}} - {{include file="field_input.tpl" field=$worker_queues}} - {{include file="field_checkbox.tpl" field=$worker_dont_fork}} - {{include file="field_checkbox.tpl" field=$worker_fastlane}} + {{if $worker.2}} + {{include file="field_input.tpl" field=$worker_queues}} + {{include file="field_checkbox.tpl" field=$worker_dont_fork}} + {{include file="field_checkbox.tpl" field=$worker_fastlane}} + {{/if}}
-- 2.39.5