cubicweb/web/views/basecomponents.py
changeset 11874 ea1d92b677b5
parent 11767 432f87a63057
child 11875 011730a4af73
--- a/cubicweb/web/views/basecomponents.py	Fri Nov 18 18:19:10 2016 +0100
+++ b/cubicweb/web/views/basecomponents.py	Wed Nov 23 17:19:51 2016 +0100
@@ -169,7 +169,8 @@
     def render(self, w):
         # display useractions and siteactions
         self._cw.add_css('cubicweb.pictograms.css')
-        actions = self._cw.vreg['actions'].possible_actions(self._cw, rset=self.cw_rset)
+        actions = self._cw.vreg['actions'].possible_actions(self._cw, rset=self.cw_rset,
+                                                            view=self.cw_extra_kwargs['view'])
         box = MenuWidget('', 'userActionsBox', _class='', islist=False)
         menu = PopupBoxMenu(self._cw.user.login, isitem=False, link_class='icon-user')
         box.append(menu)