From: Tobias Diekershoff Date: Tue, 6 Dec 2016 20:44:18 +0000 (+0100) Subject: show some of the worker options only when the worker process is active X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=339708463e7b7e88990d180b1b5374601635caf1;p=friendica.git show some of the worker options only when the worker process is active --- 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}}