﻿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
20899	Elif templatetag does not work.	tg56802@…	nobody	"
{{{
'{{""Czas dostawy""|setChoose:""24h;48h;3 dni;Brak informacji""}}'

                        {% if ""Czas dostawy""|setChoose:""24h;48h;3 dni;Brak informacji"" == ""24h"" %}
                            <img src=""dostawa_w24h.png""/>
                        {% elif ""Czas dostawy""|setChoose:""24h;48h;3 dni;Brak informacji"" == ""48h"" %}
                            <img src=""dostawa_w48h.png""/>
                        {% elif ""Czas dostawy""|setChoose:""24h;48h;3 dni;Brak informacji"" == ""3 dni"" %}
                            <img src=""dostawa_w3dni.png""/>
{% else %}
Inny
                        {% endif %}
}}}

If the first line return '48h', 'if statement' return 'Inny'.
If the first line return '28h', 'if statement' return correct value <img src=""dostawa_w24h.png""/>.
So only first 'if statement' work. If I replace elif with 'if and endif statement' pairs all works correct.

Please tell me if it is bug or some hole in documentation.
Mabe '==' works only for if. With elif it is always False.
But with elif something is wrong."	Bug	closed	Template system	1.5	Normal	worksforme	elif templatetag		Unreviewed	0	0	0	0	0	0
