equal
deleted
inserted
replaced
69 content = meth(entity) |
69 content = meth(entity) |
70 else: |
70 else: |
71 content = entity.printable_value(col) |
71 content = entity.printable_value(col) |
72 infos[col] = content |
72 infos[col] = content |
73 cssclass = entity.cw_adapt_to('IMileStone').progress_class() |
73 cssclass = entity.cw_adapt_to('IMileStone').progress_class() |
74 self.w(u"""<tr class="%s" onmouseover="addElementClass(this, 'highlighted');" |
74 self.w(u"""<tr class="%s" onmouseover="$(this).addClass('highlighted');" |
75 onmouseout="removeElementClass(this, 'highlighted')">""" % cssclass) |
75 onmouseout="$(this).removeClass('highlighted')">""" % cssclass) |
76 line = u''.join(u'<td>%%(%s)s</td>' % col for col in self.columns) |
76 line = u''.join(u'<td>%%(%s)s</td>' % col for col in self.columns) |
77 self.w(line % infos) |
77 self.w(line % infos) |
78 self.w(u'</tr>\n') |
78 self.w(u'</tr>\n') |
79 |
79 |
80 ## header management ###################################################### |
80 ## header management ###################################################### |