#3007 closed defect (worksforme)
Admin link displayed as HTML-Code in mainnav instead of as clickable link — at Version 1
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | admin/web | Version: | 0.9.6 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
I couldn't find any other place to post this, so I chose this here.
When installing the current version of the TracWebAdmin plugin with trac 0.9.4 the link in the mainnav is broken. I'm attaching a fix which basically converts the yield statement to this:
yield 'mainnav', 'admin', Markup('<a href="%s">Admin</a>',self.env.href.admin())
and adds the import statement for trac.util:
from trac.util import Markup
Change History (2)
by , 18 years ago
Attachment: | web_ui.py-mainnav-fix.diff added |
---|
comment:1 by , 18 years ago
Description: | modified (diff) |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
Well, you probably don't have the adequate WebAdmin#PluginVersions. The fix you proposed is part of r2705.
Note:
See TracTickets
for help on using tickets.
Patches weblog_ui.py to use Markup method in mainnav