diff -r bf26f32c8a72 -r 14c9a0a1aca1 web/views/schema.py --- a/web/views/schema.py Mon May 11 09:57:02 2009 +0200 +++ b/web/views/schema.py Mon May 11 11:01:40 2009 +0200 @@ -57,8 +57,10 @@ __select__ = implements('CWAttribute', 'CWRelation') cache_max_age = 60*60*2 # stay in http cache for 2 hours by default - def content_title(self, entity): - return html_escape(entity.dc_long_title()) + def render_entity_title(self, entity): + self.w(u'

%s %s

' + % (entity.dc_type().capitalize(), + html_escape(entity.dc_long_title())) class CWETypeOneLineView(baseviews.OneLineView):