web/views/baseviews.py
branchstable
changeset 3843 200719b9221f
parent 3794 c741061d5348
child 3890 d7a270f50f54
child 4212 ab6573088b4a
equal deleted inserted replaced
3842:66f3ed1703d0 3843:200719b9221f
   172     def cell_call(self, row, col):
   172     def cell_call(self, row, col):
   173         _ = self.req._
   173         _ = self.req._
   174         entity = self.entity(row, col)
   174         entity = self.entity(row, col)
   175         self.w(u'<div class="metadata">')
   175         self.w(u'<div class="metadata">')
   176         if self.show_eid:
   176         if self.show_eid:
   177             self.w(u'#%s - ' % entity.eid)
   177             self.w(u'%s #%s - ' % (entity.dc_type(), entity.eid))
   178         if entity.modification_date != entity.creation_date:
   178         if entity.modification_date != entity.creation_date:
   179             self.w(u'<span>%s</span> ' % _('latest update on'))
   179             self.w(u'<span>%s</span> ' % _('latest update on'))
   180             self.w(u'<span class="value">%s</span>, '
   180             self.w(u'<span class="value">%s</span>, '
   181                    % self.format_date(entity.modification_date))
   181                    % self.format_date(entity.modification_date))
   182         # entities from external source may not have a creation date (eg ldap)
   182         # entities from external source may not have a creation date (eg ldap)