equal
deleted
inserted
replaced
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', |