web/views/primary.py
branchtls-sprint
changeset 1720 14c9a0a1aca1
parent 1632 2253a1005078
child 1721 694f6a50e138
--- a/web/views/primary.py	Mon May 11 09:57:02 2009 +0200
+++ b/web/views/primary.py	Mon May 11 11:01:40 2009 +0200
@@ -133,16 +133,12 @@
         self.w(u'</div>')
 
     def render_entity_title(self, entity):
-        title = self.content_title(entity) # deprecate content_title?
+        """default implementation return dc_title"""
+        title = html_escape(entity.dc_title())
         if title:
             self.w(u'<h1><span class="etype">%s</span> %s</h1>'
                    % (entity.dc_type().capitalize(), title))
 
-
-    def content_title(self, entity):
-        """default implementation return dc_title"""
-        return html_escape(entity.dc_title())
-
     def render_entity_metadata(self, entity):
         entity.view('metadata', w=self.w)
         summary = self.summary(entity) # deprecate summary?