#3061: Broken download link in Source-Browser
--------------------------------+-------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone: 0.10
Component: browser | Version: devel
Severity: normal | Keywords:
--------------------------------+-------------------------------------------
In r3213 the donwload link in the sourecbrowser for non-previewable files
is broken.
the cs var:file.raw_href in the browser.cs template is empty.
Putting
{{{
req.hdf['file.raw_href'] = raw_href
}}}
after
{{{
# add ''Original Format'' alternate link (always)
raw_href = req.href.browser(node.path, rev=rev, format='raw')
}}}
in line 249 would fix this.
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/3061>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets