mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-29 02:59:52 +02:00
[ticket/13132] Enable twig expressions tests
PHPBB3-13132
This commit is contained in:
11
tests/template/templates/loop_expressions_twig2.html
Normal file
11
tests/template/templates/loop_expressions_twig2.html
Normal file
@@ -0,0 +1,11 @@
|
||||
{% for loop_inner in loop %}
|
||||
|
||||
{% if loop.index0 is divisible by(4) %}yes{% else %}no{% endif %}
|
||||
|
||||
{% endfor %}
|
||||
|
||||
{% for loop_inner in loop %}
|
||||
|
||||
{% if loop.index0 is divisible by(3) %}yes{% else %}no{% endif %}
|
||||
|
||||
{% endfor %}
|
Reference in New Issue
Block a user