# HG changeset patch # User sylvain.thenault@logilab.fr # Date 1241075345 -7200 # Thu Apr 30 09:09:05 2009 +0200 # Branch tls-sprint # Node ID a9af1f6db141b29fb706d1214592733e45be67da # Parent fcd1898c734ec1f8eb9ffcf6f62f518afb44f505 primary view configuration diff --git a/__pkginfo__.py b/__pkginfo__.py --- a/__pkginfo__.py +++ b/__pkginfo__.py @@ -8,7 +8,7 @@ version = '.'.join(str(num) for num in numversion) license = 'LGPL' -copyright = '''Copyright (c) 2003-2008 LOGILAB S.A. (Paris, FRANCE). +copyright = '''Copyright (c) 2003-2009 LOGILAB S.A. (Paris, FRANCE). http://www.logilab.fr/ -- mailto:contact@logilab.fr''' author = "Logilab" diff --git a/views.py b/views.py --- a/views.py +++ b/views.py @@ -33,6 +33,8 @@ uicfg.rcategories.tag_relation('generated', ('*', 'comments', '*'), 'object') uicfg.rmode.tag_relation('link', ('*', 'comments', '*'), 'subject') uicfg.rmode.tag_relation('link', ('*', 'comments', '*'), 'object') +uicfg.rdisplay.tag_relation({}, ('*', 'comments', '*'), 'object') +uicfg.rdisplay.tag_relation({}, ('*', 'comments', '*'), 'subject') # comment views ############################################################### @@ -241,8 +243,6 @@ self.w(u'<div id="comment%sHolder"></div>' % eid) self.w(u'</div>') -baseviews.PRIMARY_SKIP_RELS.add('comments') # displayed by the above component - # comment actions #############################################################