Modify ↓
#11460 closed defect (fixed)
Image macro and svn_prop.py ignore [trac] htdocs_location setting
Reported by: | Jun Omae | Owned by: | Jun Omae |
---|---|---|---|
Priority: | normal | Milestone: | 1.0.7 |
Component: | general | Version: | 0.12-stable |
Severity: | normal | Keywords: | htdocs_location |
Cc: | Branch: | ||
Release Notes: |
Uses
|
||
API Changes: |
Renamed |
||
Internal Changes: |
Description
Image macro and browser page for resources with svn:locks generate <tracenv>/chrome/common/...
url.
It should use [trac] htdocs_location
setting.
$ git grep 'chrome.*common/' 0.12-stable | sed -n '/tests/d; /[.]py:/p' 0.12-stable:trac/versioncontrol/svn_prop.py: return tag.img(src=context.href.chrome('common/lock-locked.png'), 0.12-stable:trac/web/chrome.py: `/chrome/common/`. 0.12-stable:trac/wiki/macros.py: raw_url = formatter.href.chrome('common/attachment.png')
$ git grep 'chrome.*common/' 1.0-stable | sed -n '/tests/d; /[.]py:/p' 1.0-stable:trac/web/chrome.py: `/chrome/common/`. 1.0-stable:trac/wiki/macros.py: raw_url = formatter.href.chrome('common/attachment.png') 1.0-stable:tracopt/versioncontrol/svn/svn_prop.py: return tag.img(src=context.href.chrome('common/lock-locked.png'),
$ git grep 'chrome.*common/' trunk | sed -n '/tests/d; /[.]py:/p' trunk:trac/web/chrome.py: `/chrome/common/`. trunk:trac/wiki/macros.py: raw_url = formatter.href.chrome('common/attachment.png') trunk:tracopt/versioncontrol/svn/svn_prop.py: return tag.img(src=context.href.chrome('common/lock-locked.png'),
Attachments (0)
Change History (5)
comment:1 by , 11 years ago
Keywords: | htdocs_location added |
---|
comment:2 by , 9 years ago
Milestone: | next-stable-1.0.x → 1.0.7 |
---|---|
Owner: | set to |
Status: | new → assigned |
comment:3 by , 9 years ago
Changes looks good to me. All tests pass on Max OSX 10.10 with Python 2.7.
comment:4 by , 9 years ago
Release Notes: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
comment:5 by , 9 years ago
Note:
See TracTickets
for help on using tickets.
Proposed changes in jomae.git@t11460.
In the changes,
_chrome_resource_path
is renamed tochrome_resource_path
to be a public api intrac.web.chrome
.