Edgewall Software

Opened 18 years ago

Last modified 17 years ago

#3007 closed defect

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

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

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 (1)

by tom@…, 18 years ago

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

Patches weblog_ui.py to use Markup method in mainnav

Note: See TracTickets for help on using tickets.