equal
deleted
inserted
replaced
110 bookmarksrql = 'Bookmark B WHERE B bookmarked_by U, U eid %s' % ueid |
110 bookmarksrql = 'Bookmark B WHERE B bookmarked_by U, U eid %s' % ueid |
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}, |
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')) |