# HG changeset patch # User Sylvain Thénault <sylvain.thenault@logilab.fr> # Date 1265443540 -3600 # Sat Feb 06 09:05:40 2010 +0100 # Node ID b34fc7161e62f206fbab0ae4f1f4c44f8eedcce1 # Parent 28734f05a558c29c55ff96c87866e10cb1aedac7 copyright update diff --git a/entities.py b/entities.py --- a/entities.py +++ b/entities.py @@ -1,7 +1,7 @@ """entity classes for Blog entities :organization: Logilab -:copyright: 2003-2009 LOGILAB S.A. (Paris, FRANCE) +:copyright: 2003-2010 LOGILAB S.A. (Paris, FRANCE) :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr :license: Lesser General Public License version 2 or above - http://www.gnu.org/ """ diff --git a/views/primary.py b/views/primary.py --- a/views/primary.py +++ b/views/primary.py @@ -1,7 +1,7 @@ """Primary views for blogs :organization: Logilab -:copyright: 2003-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved. +:copyright: 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved. :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr """ __docformat__ = "restructuredtext en" @@ -23,6 +23,7 @@ uicfg.actionbox_appearsin_addmenu.tag_object_of(('*', 'entry_of', 'Blog'), True) + class BlogPrimaryView(primary.PrimaryView): __select__ = implements('Blog') @@ -43,6 +44,7 @@ def render_entity_title(self, entity): self.w(u'<h1>%s</h1>' % xml_escape(entity.dc_title())) + class BlogEntryPrimaryView(primary.PrimaryView): __select__ = implements('BlogEntry') show_attr_label = False