# HG changeset patch
# User Nicolas Chauvat <nicolas.chauvat@logilab.fr>
# Date 1257334772 -3600
#      Wed Nov 04 12:39:32 2009 +0100
# Node ID a6692493e5c67fbc2dca3c2398942f8f762e4d4b
# Parent  f8b8124b7f242a0d7bb0c5808b50860b16e9884b
[views] do not display type in title for blogentry

diff --git a/views/primary.py b/views/primary.py
--- a/views/primary.py
+++ b/views/primary.py
@@ -47,6 +47,9 @@
     __select__ = implements('BlogEntry')
     show_attr_label = False
 
+    def render_entity_title(self, entity):
+        self.w(u'<h1>%s</h1>' % xml_escape(entity.dc_title()))
+
     def render_entity_relations(self, entity):
         rset = entity.related('entry_of', 'subject')
         if rset: