1
0
Fork 0

show some of the worker options only when the worker process is active

This commit is contained in:
Tobias Diekershoff 2016-12-06 21:47:37 +01:00
parent ac5617c40c
commit 71cfe6db94

View file

@ -158,10 +158,12 @@
<h3>{{$worker_title}}</h3>
{{include file="field_checkbox.tpl" field=$worker}}
{{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}}
<div class="submit"><input type="submit" name="page_site" value="{{$submit|escape:'html'}}" /></div>
</form>