Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#986 closed enhancement (fixed)

“Download in other formats” in the Django Trac code browser

Reported by: Antonio Cavedoni Owned by: Jacob
Component: *.djangoproject.com Version:
Severity: normal Keywords:
Cc: antonio@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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 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 (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 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) ?>

Change History (1)

comment:1 by Antonio Cavedoni, 18 years ago

Resolution: fixed
Status: newclosed

Fixed by adrian in [1760] (yay!)

Note: See TracTickets for help on using tickets.
Back to Top