Edgewall Software

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#3007 closed defect (worksforme)

Admin link displayed as HTML-Code in mainnav instead of as clickable link — at Version 1

Reported by: tom@… 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 Christian Boos)

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 tom@…, 16 years ago

Attachment: web_ui.py-mainnav-fix.diff added

Patches weblog_ui.py to use Markup method in mainnav

comment:1 by Christian Boos, 16 years ago

Description: modified (diff)
Resolution: worksforme
Status: newclosed

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.