equal
deleted
inserted
replaced
236 |
236 |
237 def content_format(self, entity): |
237 def content_format(self, entity): |
238 return entity.view('reledit', rtype='content_format') |
238 return entity.view('reledit', rtype='content_format') |
239 |
239 |
240 def cell_call(self, row, col): |
240 def cell_call(self, row, col): |
241 entity = self.entity(row, col) |
241 entity = self.rset.get_entity(row, col) |
242 |
242 |
243 # display entity attributes with prefixes |
243 # display entity attributes with prefixes |
244 self.w(u'<h1>%s</h1>' % entity.title) |
244 self.w(u'<h1>%s</h1>' % entity.title) |
245 self.w(u'<p>published on %s</p>' % entity.publish_date.strftime('%Y-%m-%d')) |
245 self.w(u'<p>published on %s</p>' % entity.publish_date.strftime('%Y-%m-%d')) |
246 self.w(u'<p>%s</p>' % entity.content) |
246 self.w(u'<p>%s</p>' % entity.content) |