# HG changeset patch
# User Sandrine Ribeau <sandrine.ribeau@logilab.fr>
# Date 1257270296 28800
#      Tue Nov 03 09:44:56 2009 -0800
# Node ID fd6633078fc5e7c4c39e93ce445a04123d68b081
# Parent  708cbacc4d771e4c89f1b76b2bd7a11bbd4b8bea
[views] ticket #344283, render_entity_title for Blog does not display entity type anymore

diff --git a/views.py b/views.py
--- a/views.py
+++ b/views.py
@@ -45,6 +45,8 @@
         self.wview('adaptedlist', rset, 'null')
         self.w(strio.getvalue())
 
+    def render_entity_title(self, entity):
+        self.w(u'<h1>%s</h1>' % xml_escape(entity.dc_title()))
 
 class BlogEntryPrimaryView(primary.PrimaryView):
     __select__ = implements('BlogEntry')