Modify ↓
#3060 closed defect (fixed)
Broken download link in Source-Browser
| Reported by: | Owned by: | Christian Boos | |
|---|---|---|---|
| Priority: | high | Milestone: | 0.10 |
| Component: | version control/browser | Version: | devel |
| Severity: | minor | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
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.
Attachments (0)
Change History (3)
comment:1 by , 20 years ago
| Owner: | changed from to |
|---|---|
| Priority: | normal → high |
| Severity: | normal → minor |
| Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.



Oops, sorry. That was the job of the
preview_to_hdfmethod, and there, I have to add theraw_hrefin all cases (not only when the max_preview_size is reached).