﻿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
986	“Download in other formats” in the Django Trac code browser	Antonio Cavedoni	Jacob	"While fiddling with Django, I thought I’d just copy several pieces of the djangoproject.com website (like the weblog) to play with and get myself comfortable. Unfortunately, I can’t just copy and paste from the [http://code.djangoproject.com/browser/djangoproject.com/django_website/apps/blog/models/blog.py blog model page] because I’d get all the line numbers. In other Trac-powered sites I can go to the bottom of the page ([http://projects.edgewall.com/trac/browser/trunk/templates/footer.cs example]) and choose “Download in other formats”, but something in the custom Django-Trac templates isn’t quite right.

I tried looking at the code for them, and the only apparent difference between the [http://projects.edgewall.com/trac/browser/trunk/templates/footer.cs stock footer.cs] (which is the template where these alternate formats get presented to the user) and source:/djangoproject.com/django_website/templates/trac_templates/footer.cs is on line 3, where the custom template has:

{{{
<?cs if:len(links.alternate) ?>
}}}

…while the default one has (on lines 1-2):

{{{
<?cs if:len(chrome.links.alternate) ?>
}}}"	enhancement	closed	*.djangoproject.com		normal	fixed		antonio@…	Unreviewed	0	0	0	0	0	0
