Create Ticket
Warning Can't synchronize with repository "(default)" (Couldn't open Subversion repository /x1/svn/asf/bloodhound: SubversionException: 13 - Can't open file '/x1/svn/asf/format': Permission denied). Look in the Trac log for more information.

Reporter:
olemis  
Opened:
Type:
enhancement  
Status:
accepted  
Priority:
minor  
Milestone:
Component:
Version:
 
Description (last modified by olemis) (diff)

Plugins will need to know whether Bloodhound theme is installed in order to apply Bloodhound-specific UI enhancements (e.g. this changeset introducing Bootstrap UI for trachacks:TracPastePlugin ) .

That's a very good reason to extract is_active_theme out of the body of bhtheme.theme.BloodhoundTheme.post_process_request method so that it will become a public method of that class .

Cc:
olemis+bh@…  

Change History

olemis

  • Cc olemis+bh@… added
  • Description modified (diff)
  • Keywords starter added
  • Priority changed from major to minor

rjollos

What do you think about making is_active_theme a public member of ThemeBase? It seems like it would be generally useful for all theme plugins.

olemis

Seems like a good suggestion . Could you please create a new ticket @ trac-hacks for this feature ?

rjollos

  • Owner changed from nobody to rjollos
  • Status changed from new to accepted

The feature has been requested in #10852. When a new release of ThemeEnginePlugin is made available with the feature we can drop the nested is_active_theme function from BloodhoundTheme.post_process_request.

olemis

Replying to rjollos:

The feature has been requested in #10852.

[...]

Done .
;)

rjollos

  • Milestone set to next 0.x
Note: See TracTickets for help on using tickets.

Activity

  

Warning   No events reported for enhancement: Add is_active_theme to the public API of bhtheme.theme.BloodhoundTheme ... (accepted) in the last 30 days since Aug 29, 2015. This may happen if system is not configured correctly. Please contact your administrator if you think this is the case.