web/views/bookmark.py
branchstable
changeset 5113 f8cbdb51e6d4
parent 4311 e9e93967b7b5
child 5174 78438ad513ca
child 5421 8167de96c523
equal deleted inserted replaced
5112:5bf8baecfaf8 5113:f8cbdb51e6d4
   111                     erset = rset
   111                     erset = rset
   112                 else:
   112                 else:
   113                     # we can't edit shared bookmarks we don't own
   113                     # we can't edit shared bookmarks we don't own
   114                     bookmarksrql = 'Bookmark B WHERE B bookmarked_by U, B owned_by U, U eid %(x)s'
   114                     bookmarksrql = 'Bookmark B WHERE B bookmarked_by U, B owned_by U, U eid %(x)s'
   115                     erset = req.execute(bookmarksrql, {'x': ueid}, 'x',
   115                     erset = req.execute(bookmarksrql, {'x': ueid}, 'x',
   116                                                 build_descr=False)
   116                                         build_descr=False)
   117                     bookmarksrql %= {'x': ueid}
   117                     bookmarksrql %= {'x': ueid}
   118                 if erset:
   118                 if erset:
   119                     url = self._cw.build_url(vid='muledit', rql=bookmarksrql)
   119                     url = self._cw.build_url(vid='muledit', rql=bookmarksrql)
   120                     boxmenu.append(self.mk_action(self._cw._('edit bookmarks'), url, category='manage'))
   120                     boxmenu.append(self.mk_action(self._cw._('edit bookmarks'), url, category='manage'))
   121             url = req.user.absolute_url(vid='xaddrelation', rtype='bookmarked_by',
   121             url = req.user.absolute_url(vid='xaddrelation', rtype='bookmarked_by',