#39: Disable old Trac CSS files
------------------------+-------------------------------------
Reporter: jdreimann | Owner: gjm
Type: task | Status: accepted
Priority: critical | Milestone: RC1 for initial release
Component: ui design | Version:
Resolution: | Keywords:
------------------------+-------------------------------------
Comment (by gjm):
Thanks for pointing that out too. I don't think that THEME_NAME is used
elsewhere so I suggest we go with something like this instead for the
test:
{{{
#!python
def active_theme():
is_active = False
active_theme = ThemeEngineSystem(self.env).theme
if active_theme is not None:
this_theme_name = self.get_theme_names().next()
is_active = active_theme['name'] == this_theme_name
return is_active
if self.disable_all_trac_css and is_active_theme():
}}}
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/39#comment:11>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker