1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-13 04:04:12 +02:00

[ticket/13132] Twig: Add loops content to the root context

PHPBB3-13132
This commit is contained in:
Tristan Darricau
2014-10-07 20:51:08 +02:00
committed by Nicofuma
parent 70990bc86f
commit cf39cfc593
18 changed files with 335 additions and 3 deletions

View File

@@ -0,0 +1,10 @@
top-level content
{% for outer_inner in outer %}
outer {{ outer_inner.VARIABLE }}
{% for inner in outer_inner.inner %}
inner {{ inner.VARIABLE }}
{% if inner.S_FIRST_ROW %}
first row
{% endif %}
{% endfor %}
{% endfor %}