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

fix user's latest comment section context (was displayed as incontext box)

parent 068aa14bbd6b
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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