diff -r 0072247db207 -r 51c84d585456 web/views/basecomponents.py --- a/web/views/basecomponents.py Tue Jun 23 13:31:35 2009 +0200 +++ b/web/views/basecomponents.py Tue Jun 23 13:36:38 2009 +0200 @@ -29,7 +29,8 @@ """build the rql input form, usually displayed in the header""" id = 'rqlinput' property_defs = VISIBLE_PROP_DEF - + visible = False + def call(self, view=None): if hasattr(view, 'filter_box_context_info'): rset = view.filter_box_context_info()[0] @@ -148,8 +149,10 @@ site_wide = True def call(self): - self.w(u'%s' % ( - self.req.base_url(), self.req.property_value('ui.site-title'))) + title = self.req.property_value('ui.site-title') + if title: + self.w(u'%s' % ( + self.req.base_url(), title)) class SeeAlsoVComponent(component.RelatedObjectsVComponent):