﻿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
13088	Template range filter	makoste	nobody	"{{{
def range( value ):
  """"""
    Filter - returns a list containing range made from given value
    Usage (in template):

    <ul>{% for i in 3|range %}
      <li>{{ i }}. Do something</li>
    {% endfor %}</ul>

    Results with the HTML:
    <ul>
      <li>0. Do something</li>
      <li>1. Do something</li>
      <li>2. Do something</li>
    </ul>

    Instead of 3 one may use the variable set in the views
  """"""
  return range( value )
}}}"	New feature	closed	Template system	1.2-beta	Normal	wontfix			Unreviewed	0	0	0	0	0	0
