web/views/basecomponents.py
branchtls-sprint
changeset 1721 694f6a50e138
parent 1699 f61402624f7b
child 1739 78b0819162a8
equal deleted inserted replaced
1720:14c9a0a1aca1 1721:694f6a50e138
   149     def call(self):
   149     def call(self):
   150         self.w(u'<span id="appliName"><a href="%s">%s</a></span>' % (self.req.base_url(),
   150         self.w(u'<span id="appliName"><a href="%s">%s</a></span>' % (self.req.base_url(),
   151                                                          self.req.property_value('ui.site-title')))
   151                                                          self.req.property_value('ui.site-title')))
   152 
   152 
   153 
   153 
   154 uicfg.rdisplay.tag_relation({}, ('*', 'see_also', '*'), 'subject')
   154 uicfg.rdisplay.tag_relation('!*', 'see_also', '*', {})
   155 uicfg.rdisplay.tag_relation({}, ('*', 'see_also', '*'), 'object')
   155 uicfg.rdisplay.tag_relation('*', 'see_also', '!*', {})
   156 
   156 
   157 class SeeAlsoVComponent(component.RelatedObjectsVComponent):
   157 class SeeAlsoVComponent(component.RelatedObjectsVComponent):
   158     """display any entity's see also"""
   158     """display any entity's see also"""
   159     id = 'seealso'
   159     id = 'seealso'
   160     context = 'navcontentbottom'
   160     context = 'navcontentbottom'