Modify ↓
#2336 closed defect (worksforme)
"Available Projects" HTML is hard-coded
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | general | Version: | 0.9 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
The HTML for the "Available Projects" list is hard-coded in trac.web.main.py. It should be in a template file.
Attachments (0)
Change History (3)
comment:1 by , 19 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:2 by , 19 years ago
What about the templates in /usr/share/trac/templates
? Aren't they "global"?
comment:3 by , 18 years ago
For TracStandalone, couldn't it simply serve an index.html found at the path specified using the env-parent-dir?
Note:
See TracTickets
for help on using tickets.
It can't be in a template file because templates are project-specific.
However, you can use your own ClearSilver template using the
TracEnvIndexTemplate
python option (for TracModPython), orTRAC_ENV_INDEX_TEMPLATE
environment variable (for TracCgi, TracFastCgi and TracStandalone). Really need to document this.