rougail/tests/dictionaries_old/60extra_leadership_valid_enum/tmpl/mailname2

34 lines
905 B
Text
Raw Permalink Normal View History

2023-10-12 08:17:30 +02:00
{% if 'test' in extra.ejabberd.description.description -%}
contain test
{% endif -%}
2023-10-12 08:17:30 +02:00
{{ extra.ejabberd.description.description|length }}
{% if 'a' in extra.ejabberd.description.description -%}
contain a
{% endif -%}
2023-10-12 08:17:30 +02:00
{% for description in extra.ejabberd.description.description -%}
leader: {{ description }}
follower: {{ description.mode }}
{% if description <= description.mode -%}
infeq
{% endif -%}
{% if description >= description.mode -%}
supeq
{% endif -%}
{% if description < description.mode -%}
inf
{% endif -%}
{% if description > description.mode -%}
sup
{% endif -%}
{% if description == description.mode -%}
eq
{% endif -%}
{% if description != description.mode -%}
diff
{% endif -%}
{{ description + description.mode }}
{{ description.mode + description }}
{% endfor -%}
2023-10-12 08:17:30 +02:00
leader2: {{ extra.ejabberd.description.description[0] }}
follower2: {{ extra.ejabberd.description.description[0].mode }}