Merge pull request #2660 from annando/1607-worker-admin
Site settings: some settings are disabled when the worker is active
This commit is contained in:
commit
aba590b4c4
1 changed files with 4 additions and 2 deletions
|
@ -120,8 +120,10 @@
|
||||||
{{include file="field_input.tpl" field=$proxy}}
|
{{include file="field_input.tpl" field=$proxy}}
|
||||||
{{include file="field_input.tpl" field=$proxyuser}}
|
{{include file="field_input.tpl" field=$proxyuser}}
|
||||||
{{include file="field_input.tpl" field=$timeout}}
|
{{include file="field_input.tpl" field=$timeout}}
|
||||||
|
{{if NOT $worker.2}}
|
||||||
{{include file="field_input.tpl" field=$delivery_interval}}
|
{{include file="field_input.tpl" field=$delivery_interval}}
|
||||||
{{include file="field_input.tpl" field=$poll_interval}}
|
{{include file="field_input.tpl" field=$poll_interval}}
|
||||||
|
{{/if}}
|
||||||
{{include file="field_input.tpl" field=$maxloadavg}}
|
{{include file="field_input.tpl" field=$maxloadavg}}
|
||||||
{{include file="field_input.tpl" field=$maxloadavg_frontend}}
|
{{include file="field_input.tpl" field=$maxloadavg_frontend}}
|
||||||
{{include file="field_input.tpl" field=$optimize_max_tablesize}}
|
{{include file="field_input.tpl" field=$optimize_max_tablesize}}
|
||||||
|
|
Loading…
Reference in a new issue