diff --git a/views/secondary.py b/views/secondary.py index 1d783e846e875c74d8d33df7f15490c0c8806aa0_dmlld3Mvc2Vjb25kYXJ5LnB5..6762f7334915476fd7ab53fc89a3c1a867069553_dmlld3Mvc2Vjb25kYXJ5LnB5 100644 --- a/views/secondary.py +++ b/views/secondary.py @@ -16,7 +16,7 @@ from cubicweb.selectors import paginated_rset, sorted_rset, implements, \ authenticated_user from cubicweb.web.htmlwidgets import BoxLink, BoxWidget -from cubicweb.web.views import baseviews, boxes, calendar, navigation +from cubicweb.web.views import baseviews, boxes, calendar, navigation, workflow class BlogEntryArchiveView(StartupView): """control the view of a blog archive""" @@ -254,3 +254,10 @@ def index_display(self, start, stop): return u'%s' % (int(start / self.page_size)+1) +# WFHistoryView ############################################################### + +class BlogEntryWFHistoryVComponent(workflow.WFHistoryVComponent): + __select__ = workflow.WFHistoryVComponent.__select__ & implements('BlogEntry') + + def cell_call(self, row, col, view=None): + pass