incubator-bloodhound-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Bloodhound" <bloodhound-...@incubator.apache.org>
Subject Re: [Apache Bloodhound] #39: Disable old Trac CSS files
Date Tue, 24 Apr 2012 16:55:01 GMT
#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

Mime
View raw message