Solution to duplicate view / edit tabs (#tabbed_pane-elements)

33 views
Skip to first unread message

Markus

unread,
May 31, 2010, 4:20:15 PM5/31/10
to Agilo for Scrum
Hi,

This subject was discussed in an old thread:
http://groups.google.com/group/agilo/browse_thread/thread/7f6fab0bd435cc5d/f344c2bda5717e73?lnk=gst&q=edit+view+duplicate#f344c2bda5717e73

I just ran into the same problem so I thought I could share a solution
I found.

Reason for duplicate tabbed panes in my case was the custom site.html
that I used to set own styles for the project. I copy-pasted it from:
http://trac.edgewall.org/wiki/TracInterfaceCustomization#SiteAppearance

Removing the <body>-part and leaving just the <head>-part to still
apply my custom styles helped. Here's my new working site.html:

<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:py="http://genshi.edgewall.org/" py:strip="">

<!--! Add site-specific style sheet -->
<head py:match="head" py:attrs="select('@*')">
${select('*|comment()|text()')}
<link rel="stylesheet" type="text/css" href="${href.chrome('site/
style.css')}" />
</head>

</html>

--Markus

Felix Schwarz

unread,
Jun 1, 2010, 1:59:27 AM6/1/10
to ag...@googlegroups.com
Am 31.05.2010 22:20, schrieb Markus:
> I just ran into the same problem so I thought I could share a solution
> I found.
>
> Reason for duplicate tabbed panes in my case was the custom site.html
> that I used to set own styles for the project. I copy-pasted it from:
> http://trac.edgewall.org/wiki/TracInterfaceCustomization#SiteAppearance

Thanks a lot for sharing your solution :-)

This sounds a lot like these multiple py:match problems that we are
famous for triggering. Basically these are bugs in Genshi and we fixed
some of them in Genshi 0.6 (though this release has new bugs...).

fs

Reply all
Reply to author
Forward
0 new messages