﻿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
7711	Switch/case tag	Gabriel Falcão	nobody	"Django is kinda pythonic and mostly of conditional tags implemented are what mostly people would need:
{{{
{% if %}, {% ifequal %}, {% ifnotequal %} and so...
}}}

But i think that sometimes a ""switch tag"" would be great!
So i've implemented it, and attached the patch with this ticket

The implementation can be used as this:
{{{
{% switch person.name %}
    {% case ""John Doe"" %}
        My name is Doe, John Doe
    {% endcase %}

    {% case ""Mary Jane"" %}
        My name is Mary Jane
    {% endcase %}
{% default %}
    OMG! I have no name!
{% endswitch %}
}}}"	New feature	closed	Template system	dev	Normal	wontfix	case switch tags template templatetag	simon@…	Design decision needed	1	1	1	1	0	0
