rougail/tests/dictionaries/60extra_leadership/tmpl/mailname2

34 lines
899 B
Plaintext

{% if 'test' in extra.ejabberd.leadership.description -%}
contain test
{% endif -%}
{{ extra.ejabberd.leadership.description|length }}
{% if 'a' in extra.ejabberd.leadership.description -%}
contain a
{% endif -%}
{% for description in extra.ejabberd.leadership.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 -%}
leader2: {{ extra.ejabberd.leadership.description[0] }}
follower2: {{ extra.ejabberd.leadership.description[0].mode }}