aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/templates/loop_vars.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/template/templates/loop_vars.html')
-rw-r--r--tests/template/templates/loop_vars.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/template/templates/loop_vars.html b/tests/template/templates/loop_vars.html
index 6bbd4a2710..1ecf49bdf2 100644
--- a/tests/template/templates/loop_vars.html
+++ b/tests/template/templates/loop_vars.html
@@ -9,10 +9,15 @@
{loop.VARIABLE}
+<!-- IF loop.VARIABLE -->set<!-- ENDIF -->
+
<!-- IF loop.S_LAST_ROW -->last<!-- ENDIF -->
<!-- BEGIN inner -->
{inner.S_ROW_NUM}
+<!-- IF inner.S_LAST_ROW and inner.S_ROW_NUM and inner.S_NUM_ROWS -->last inner<!-- ENDIF -->
+
<!-- END inner -->
<!-- END loop -->
+<!-- IF .loop.inner -->inner loop<!-- ENDIF -->