Ticket #6008 (closed defect: fixed)
multiple projects index page misses Trac information (patch)
| Reported by: | salmira | Owned by: | jonas |
|---|---|---|---|
| Priority: | low | Milestone: | 0.11 |
| Component: | general | Version: | devel |
| Severity: | trivial | Keywords: | |
| Cc: |
Description
When Trac is setup for multiple projects, it is impossible to display any Trac information by changing index.html, because trac variable is not defined for index.html template, as well other vars.
The only available are: the projects variable (the list of projects) and functions defined and value_of - see debug output of locals() (other debug outputs failed) for a custom index.html page:
defined: <function defined at 0x082E1FB0>
projects: {'href': '/trac/tr1', 'name': u'Trac1', 'description': u'1st'}{'href': '/trac/tr2', 'name': u'Trac2', 'description': u'2nd'}
value_of: <function value_of at 0x084596F0>
Is it posible to add automatic Trac version infornation for this page at least, sa it is shown for each trac environment?
Test System Information:
Apache/2.2.4 (Win32) mod_python/3.3.1 Python/2.5 SVN/1.4.3 Trac/0.11Dev_trunk-r6000


