Skip to content
Snippets Groups Projects
Commit fb3db84a7019 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

should use entity, not self.entity (which is a function)

parent 6c9687eb82ba
No related branches found
No related tags found
No related merge requests found
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
def cell_call(self, row, col, **kwargs): def cell_call(self, row, col, **kwargs):
entity = self.cw_rset.get_entity(row, col) entity = self.cw_rset.get_entity(row, col)
self.w(u'[%s] ' % self.entity.view('commentroot')) self.w(u'[%s] ' % entity.view('commentroot'))
self.w(u'<a href="%s"><i>%s</i></a>\n' % ( self.w(u'<a href="%s"><i>%s</i></a>\n' % (
xml_escape(entity.absolute_url()), xml_escape(entity.absolute_url()),
entity.view('commentsummary'))) entity.view('commentsummary')))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment