23 lines
596 B
Smarty
23 lines
596 B
Smarty
{{ define "vehicle-features" }}
|
|
{{- if or .basefeatures (eq .coarsecurrent "true") (eq .welcomecharge "true") (eq .streaming "true") (eq .climaterdisabled "true") (eq .autodetectdisabled "true") }}
|
|
features:
|
|
{{- range .basefeatures }}
|
|
- {{ . }}
|
|
{{- end }}
|
|
{{- if eq .coarsecurrent "true" }}
|
|
- coarsecurrent
|
|
{{- end }}
|
|
{{- if eq .welcomecharge "true" }}
|
|
- welcomecharge
|
|
{{- end }}
|
|
{{- if eq .streaming "true" }}
|
|
- streaming
|
|
{{- end }}
|
|
{{- if eq .climaterdisabled "true" }}
|
|
- climaterdisabled
|
|
{{- end }}
|
|
{{- if eq .autodetectdisabled "true" }}
|
|
- autodetectdisabled
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- end }}
|