mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
string_as_bool for message_box_visible on webapps
This commit is contained in:
@@ -40,7 +40,7 @@ class Configuration( object ):
|
||||
self.log_actions = string_as_bool( kwargs.get( 'log_actions', 'False' ) )
|
||||
self.brand = kwargs.get( 'brand', None )
|
||||
# Configuration for the message box directly below the masthead.
|
||||
self.message_box_visible = kwargs.get( 'message_box_visible', False )
|
||||
self.message_box_visible =string_as_bool( kwargs.get( 'message_box_visible', False ) )
|
||||
self.message_box_content = kwargs.get( 'message_box_content', None )
|
||||
self.message_box_class = kwargs.get( 'message_box_class', 'info' )
|
||||
self.wiki_url = kwargs.get( 'wiki_url', 'https://wiki.galaxyproject.org/' )
|
||||
|
||||
@@ -110,7 +110,7 @@ class Configuration( object ):
|
||||
self.brand = kwargs.get( 'brand', None )
|
||||
self.pretty_datetime_format = expand_pretty_datetime_format( kwargs.get( 'pretty_datetime_format', '$locale (UTC)' ) )
|
||||
# Configuration for the message box directly below the masthead.
|
||||
self.message_box_visible = kwargs.get( 'message_box_visible', False )
|
||||
self.message_box_visible = string_as_bool( kwargs.get( 'message_box_visible', False ) )
|
||||
self.message_box_content = kwargs.get( 'message_box_content', None )
|
||||
self.message_box_class = kwargs.get( 'message_box_class', 'info' )
|
||||
self.support_url = kwargs.get( 'support_url', 'https://wiki.galaxyproject.org/Support' )
|
||||
|
||||
Reference in New Issue
Block a user