Skip to content
Snippets Groups Projects
Commit b34fc7161e62 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

copyright update

parent 28734f05a558
No related branches found
No related tags found
No related merge requests found
"""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/
"""
......
"""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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment