show some of the worker options only when the worker process is active
This commit is contained in:
parent
ac5617c40c
commit
71cfe6db94
1 changed files with 6 additions and 4 deletions
|
@ -158,10 +158,12 @@
|
||||||
|
|
||||||
<h3>{{$worker_title}}</h3>
|
<h3>{{$worker_title}}</h3>
|
||||||
{{include file="field_checkbox.tpl" field=$worker}}
|
{{include file="field_checkbox.tpl" field=$worker}}
|
||||||
{{include file="field_input.tpl" field=$worker_queues}}
|
{{if $worker.2}}
|
||||||
{{include file="field_checkbox.tpl" field=$worker_dont_fork}}
|
{{include file="field_input.tpl" field=$worker_queues}}
|
||||||
{{include file="field_checkbox.tpl" field=$worker_fastlane}}
|
{{include file="field_checkbox.tpl" field=$worker_dont_fork}}
|
||||||
{{include file="field_checkbox.tpl" field=$worker_frontend}}
|
{{include file="field_checkbox.tpl" field=$worker_fastlane}}
|
||||||
|
{{include file="field_checkbox.tpl" field=$worker_frontend}}
|
||||||
|
{{/if}}
|
||||||
<div class="submit"><input type="submit" name="page_site" value="{{$submit|escape:'html'}}" /></div>
|
<div class="submit"><input type="submit" name="page_site" value="{{$submit|escape:'html'}}" /></div>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in a new issue