﻿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
4984	Want support for conditional links in templates	daniel@…	Adrian Holovaty	"First off -- thanks for Django, it's spectacularly awesome.

One small thing that would improve my life greatly:
Right now, I have a linkbar generated with '<a href=""{% url one %}"">one</a> <a href=""{% url two %}"">two</a> <a href=""{% url three %}"">three</a>', etc.  However, I would like this to not generate links to the current page: i.e., if I'm already on two, I want one and three to be links, and two to just be plain text.  A filter like '{% cond_url_link some.app.here one %}', maybe with an optional style class or so, that generates the entire link struct for me: <a href=""/url/here/"">desc</a> if it's a different page, but just the description if we're already on that same page.

Thanks again!"		closed	Template system	dev		wontfix			Unreviewed	0	0	0	0	0	0
