Ticket #10852 (closed enhancement: fixed)

Opened 4 months ago

Last modified 5 days ago

Add an `is_active_theme` method to the `ThemeBase` class

Reported by: rjollos Assigned to: anonymous
Priority: normal Component: ThemeEnginePlugin
Severity: normal Keywords:
Cc: Trac Release:

Description

It is sometimes useful to know if a theme is the active theme. An is_active_theme method could be added to the ThemeBase class to make this functionality available for all themes. This ticket resulted from bh:#360 and #10833.

Attachments

Change History

04/24/13 01:17:54 changed by olemis

(In [13001]) ThemeEnginePlugin refs #10852 : Initial version of 'ThemeEngineSystem?.is_active_theme' plus tests for default theme

04/24/13 01:20:40 changed by olemis

  • owner changed from olemis to anonymous.
  • status changed from new to assigned.

04/24/13 02:22:55 changed by olemis

(In [13002]) ThemeEnginePlugin refs #10852 : Handle 'ThemeNotFound?' in 'is_active_theme'. Match theme provider. Tests for custom themes

04/24/13 02:41:16 changed by olemis

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [13003]) ThemeEnginePlugin: ( close #10852 ) 'ThemeBase?.is_active_theme' . Version 2.1.4 on PyPI

04/25/13 18:48:30 changed by olemis

(In [13006]) TracPastePlugin refs #10852 : Transform 'is_active_theme' into a property instead of function .

Refs [13001] , [13002] , [13003]

05/21/13 03:38:31 changed by olemis

(In [13184]) ThemeEnginePlugin [ fixes #11104 ]: Current theme in custom theme admin template defaults to empty dict Error recovery on misconfiguration in ThemeBase?.is_active_theme

refs #11103 - because error on misconfiguration also affects simple theme admin panel refs #10852 - the original ticket introducing is_active_theme API method


Add/Change #10852 (Add an `is_active_theme` method to the `ThemeBase` class)




Change Properties
Action