web/views/editviews.py
branchstable
changeset 2996 866a2c135c33
parent 2650 18aec79ec3a3
child 3023 7864fee8b4ec
child 3165 0a50ebe53db7
equal deleted inserted replaced
2995:4ef565c1d183 2996:866a2c135c33
    61     id = 'outofcontext-search'
    61     id = 'outofcontext-search'
    62     def cell_call(self, row, col):
    62     def cell_call(self, row, col):
    63         entity = self.entity(row, col)
    63         entity = self.entity(row, col)
    64         erset = entity.as_rset()
    64         erset = entity.as_rset()
    65         if self.req.match_search_state(erset):
    65         if self.req.match_search_state(erset):
    66             self.w(u'<a href="%s" title="%s">%s</a>&nbsp;<a href="%s" title="%s">[...]</a>' % (
    66             self.w(u'<a href="%s" title="%s">%s</a>&#160;<a href="%s" title="%s">[...]</a>' % (
    67                 xml_escape(linksearch_select_url(self.req, erset)),
    67                 xml_escape(linksearch_select_url(self.req, erset)),
    68                 self.req._('select this entity'),
    68                 self.req._('select this entity'),
    69                 xml_escape(entity.view('textoutofcontext')),
    69                 xml_escape(entity.view('textoutofcontext')),
    70                 xml_escape(entity.absolute_url(vid='primary')),
    70                 xml_escape(entity.absolute_url(vid='primary')),
    71                 self.req._('view detail for this entity')))
    71                 self.req._('view detail for this entity')))