Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#2336 closed defect (worksforme)

"Available Projects" HTML is hard-coded

Reported by: dserodio@… 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 Christopher Lenz, 19 years ago

Resolution: worksforme
Status: newclosed

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), or TRAC_ENV_INDEX_TEMPLATE environment variable (for TracCgi, TracFastCgi and TracStandalone). Really need to document this.

comment:2 by dserodio@…, 19 years ago

What about the templates in /usr/share/trac/templates? Aren't they "global"?

comment:3 by trac@…, 18 years ago

For TracStandalone, couldn't it simply serve an index.html found at the path specified using the env-parent-dir?

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.