# HG changeset patch # User Sylvain Thénault <sylvain.thenault@logilab.fr> # Date 1296030674 -3600 # Wed Jan 26 09:31:14 2011 +0100 # Branch stable # Node ID 1af5afd11b85d36b5c0791d3ca8e2d0c6915f79e # Parent 068aa14bbd6b723d2dc72998ca689a7e0ca765b5 fix user's latest comment section context (was displayed as incontext box) diff --git a/views.py b/views.py --- a/views.py +++ b/views.py @@ -323,6 +323,7 @@ """a section to display latest comments by a user""" __select__ = component.EntityCtxComponent.__select__ & is_instance('CWUser') __regid__ = 'latestcomments' + context = 'navcontentbottom' def render_body(self, w): maxrelated = self._cw.property_value('navigation.related-limit') + 1