Add mode definition
This commit is contained in:
parent
3dbcd5fe73
commit
a51226cc78
1 changed files with 7 additions and 2 deletions
|
@ -12,6 +12,11 @@ profile {{ p.profile | default('') }} {
|
||||||
{% if s.status is defined and s.status == 'enable' %}
|
{% if s.status is defined and s.status == 'enable' %}
|
||||||
{{- ' enable' -}}
|
{{- ' enable' -}}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if s.mode is defined %}
|
||||||
|
{{- ' mode ' ~ s.mode }}
|
||||||
|
{% elif current['mode'] is defined %}
|
||||||
|
{{- ' mode ' ~ current['mode'] -}}
|
||||||
|
{% endif %}
|
||||||
{% if s.position is defined %}
|
{% if s.position is defined %}
|
||||||
{{- ' position ' ~ s.position -}}
|
{{- ' position ' ~ s.position -}}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -24,8 +29,8 @@ profile {{ p.profile | default('') }} {
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if s.scale is defined %}
|
{% if s.scale is defined %}
|
||||||
{{- ' scale ' ~ s.scale -}}
|
{{- ' scale ' ~ s.scale -}}
|
||||||
{% elif current['options']['scale'] is defined %}
|
{% elif current['scale'] is defined %}
|
||||||
{{- ' scale ' ~ current['options']['scale'] -}}
|
{{- ' scale ' ~ current['scale'] -}}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue