--- a/web/views/iprogress.py Wed Dec 23 12:20:10 2009 +0100
+++ b/web/views/iprogress.py Thu Jan 07 08:02:52 2010 +0100
@@ -156,9 +156,7 @@
def build_progress_cell(self, entity):
"""``progress`` column cell renderer"""
- progress = u'<div class="progress_data">%s (%.2f%%)</div>' % (
- entity.done, entity.progress())
- return progress + entity.view('progressbar')
+ return entity.view('progressbar')
class InContextProgressTableView(ProgressTableView):
@@ -186,6 +184,7 @@
def cell_call(self, row, col):
self._cw.add_css('cubicweb.iprogress.css')
+ self.req.add_js('cubicweb.iprogress.js')
entity = self.cw_rset.get_entity(row, col)
widget = ProgressBarWidget(entity.done, entity.todo,
entity.revised_cost)