From: Tobias Diekershoff Date: Tue, 6 Dec 2016 20:47:37 +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=71cfe6db946cea623787896f06dbabd240f5f583;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 c3e9a72374..531614932f 100644 --- a/view/templates/admin_site.tpl +++ b/view/templates/admin_site.tpl @@ -158,10 +158,12 @@

{{$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}} - {{include file="field_checkbox.tpl" field=$worker_frontend}} + {{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}} + {{include file="field_checkbox.tpl" field=$worker_frontend}} + {{/if}}