Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#986 closed enhancement (fixed)

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

Reported by: verbosus Owned by: Jacob
Component: * 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


While fiddling with Django, I thought I’d just copy several pieces of the 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:/ 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 Changed 13 years ago by verbosus

Resolution: fixed
Status: newclosed

Fixed by adrian in [1760] (yay!)

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