Opened 18 years ago
Closed 18 years ago
#4690 closed enhancement (wontfix)
It would be useful to have info about other trac projects available to the templates
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.10.3 |
Severity: | normal | Keywords: | multiple projects |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
When there are multiple trac projects on the same server, there is an index page that is built from a list of projects. It would be useful to have this same info available for custom templates.
Attachments (1)
Change History (2)
by , 18 years ago
Attachment: | trac.patch added |
---|
comment:1 by , 18 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Thanks for the patch, but I'm afraid we can't integrate it.
A while ago, when I introduced support for InterTrac links, I did something like that as well, but it was noted that opening all the environments for each request was too costly, mainly in term of db connections (see trac-dev:159).
Another reason is that 0.10-stable is now in bug fixing mode and we're getting reluctant to introduce new features there, especially when they are related to ClearSilver which is being phased out.
The good news is that we're probably seeing multi-project support sooner than expected (see #130), and that when this happens, an index of all projects (within the same TracEnvironment) will of course be available.
Patch against trac/web/main.py that makes the projects variable available to templates