From 2ef50cb7e6f51f032ed676a78af64e0bc9130b29 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sat, 2 Jul 2016 23:08:33 +0200 Subject: [PATCH] Site settings: some settings are disabled when the worker is active --- view/templates/admin_site.tpl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/view/templates/admin_site.tpl b/view/templates/admin_site.tpl index f22319b695..7a6e4fd356 100644 --- a/view/templates/admin_site.tpl +++ b/view/templates/admin_site.tpl @@ -120,8 +120,10 @@ {{include file="field_input.tpl" field=$proxy}} {{include file="field_input.tpl" field=$proxyuser}} {{include file="field_input.tpl" field=$timeout}} - {{include file="field_input.tpl" field=$delivery_interval}} - {{include file="field_input.tpl" field=$poll_interval}} + {{if NOT $worker.2}} + {{include file="field_input.tpl" field=$delivery_interval}} + {{include file="field_input.tpl" field=$poll_interval}} + {{/if}} {{include file="field_input.tpl" field=$maxloadavg}} {{include file="field_input.tpl" field=$maxloadavg_frontend}} {{include file="field_input.tpl" field=$optimize_max_tablesize}} -- 2.39.5