﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
5865	cycle template tag should accept a single argument	Gary Wilson	Giannis Terzopoulos	"When passed a single argument, the cycle tag should treat it as an iterable to cycle through.  For example, with the context:

{{{
#!python
{'colors': ['red', 'blue', 'green']}
}}}

you should be able to have a template like:

{{{
#!xml
{% for row in mydata %}
<tr class=""{% cycle colors %}"">...</tr>
{% endfor %}
}}}

that would output:

{{{
#!xml
<tr class=""red"">...</tr>
<tr class=""blue"">...</tr>
<tr class=""green"">...</tr>
<tr class=""red"">...</tr>
...
}}}
"	New feature	assigned	Template system	dev	Normal			mateusz@…	Accepted	0	0	0	0	0	0
