[Trac-tickets] [The Trac Project] #3007: Admin link displayed as HTML-Code in mainnav instead of as clickable link

The Trac Project noreply at edgewall.com
Sun Apr 9 16:17:51 CDT 2006


#3007: Admin link displayed as HTML-Code in mainnav instead of as clickable link
-----------------------------+----------------------------------------------
 Reporter:  tom at tomster.org  |       Owner:  jonas
     Type:  defect           |      Status:  new  
 Priority:  normal           |   Milestone:       
Component:  general          |     Version:  0.9.4
 Severity:  normal           |    Keywords:       
-----------------------------+----------------------------------------------
 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

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/3007>
The Trac Project <http://trac.edgewall.com/>


More information about the Trac-Tickets mailing list