equal
deleted
inserted
replaced
405 if meth: |
405 if meth: |
406 content = meth(entity) |
406 content = meth(entity) |
407 else: |
407 else: |
408 content = entity.printable_value(col) |
408 content = entity.printable_value(col) |
409 infos[col] = content |
409 infos[col] = content |
410 self.w(u"""<tr onmouseover="addElementClass(this, 'highlighted');" |
410 self.w(u"""<tr onmouseover="$(this).addClass('highlighted');" |
411 onmouseout="removeElementClass(this, 'highlighted')">""") |
411 onmouseout="$(this).removeClass('highlighted')">""") |
412 line = u''.join(u'<td>%%(%s)s</td>' % col for col in self.columns) |
412 line = u''.join(u'<td>%%(%s)s</td>' % col for col in self.columns) |
413 self.w(line % infos) |
413 self.w(line % infos) |
414 self.w(u'</tr>\n') |
414 self.w(u'</tr>\n') |
415 |
415 |
416 def table_header(self, sample): |
416 def table_header(self, sample): |