cubicweb/web/views/basetemplates.py
changeset 11874 ea1d92b677b5
parent 11870 3a84a79c4ed5
child 11913 4516c3956d46
--- a/cubicweb/web/views/basetemplates.py	Fri Nov 18 18:19:10 2016 +0100
+++ b/cubicweb/web/views/basetemplates.py	Wed Nov 23 17:19:51 2016 +0100
@@ -208,7 +208,7 @@
         self.w(u'</td>\n')
         self.nav_column(view, 'right')
         self.w(u'</tr></table></div>\n')
-        self.wview('footer', rset=self.cw_rset)
+        self.wview('footer', rset=self.cw_rset, view=view)
         self.w(u'</body>')
 
     def nav_column(self, view, context):
@@ -395,7 +395,8 @@
 
     def footer_content(self):
         actions = self._cw.vreg['actions'].possible_actions(self._cw,
-                                                            rset=self.cw_rset)
+                                                            rset=self.cw_rset,
+                                                            view=self.cw_extra_kwargs['view'])
         footeractions = actions.get('footer', ())
         for i, action in enumerate(footeractions):
             self.w(u'<a href="%s">%s</a>' % (action.url(),