equal
deleted
inserted
replaced
146 property_defs = VISIBLE_PROP_DEF |
146 property_defs = VISIBLE_PROP_DEF |
147 # don't want user to hide this component using an cwproperty |
147 # don't want user to hide this component using an cwproperty |
148 site_wide = True |
148 site_wide = True |
149 |
149 |
150 def call(self): |
150 def call(self): |
151 self.w(u'<span id="appliName"><a href="%s">%s</a></span>' % ( |
151 title = self.req.property_value('ui.site-title') |
152 self.req.base_url(), self.req.property_value('ui.site-title'))) |
152 if title: |
|
153 self.w(u'<span id="appliName"><a href="%s">%s</a></span>' % ( |
|
154 self.req.base_url(), title)) |
153 |
155 |
154 |
156 |
155 class SeeAlsoVComponent(component.RelatedObjectsVComponent): |
157 class SeeAlsoVComponent(component.RelatedObjectsVComponent): |
156 """display any entity's see also""" |
158 """display any entity's see also""" |
157 id = 'seealso' |
159 id = 'seealso' |