web/views/basecomponents.py
changeset 6475 e58e08069c68
parent 6474 745b20ac1a68
child 6477 a91f3541b3dd
--- a/web/views/basecomponents.py	Wed Oct 13 15:59:35 2010 +0200
+++ b/web/views/basecomponents.py	Wed Oct 13 16:00:06 2010 +0200
@@ -35,7 +35,7 @@
 from cubicweb.schema import display_name
 from cubicweb.utils import wrap_on_write
 from cubicweb.uilib import toggle_action
-from cubicweb.web import component
+from cubicweb.web import component, uicfg
 from cubicweb.web.htmlwidgets import (MenuWidget, PopupBoxMenu, BoxSeparator,
                                       BoxLink)
 
@@ -293,3 +293,4 @@
     vreg.register_all(globals().values(), __name__, (SeeAlsoComponent,))
     if 'see_also' in vreg.schema:
         vreg.register(SeeAlsoComponent)
+        uicfg.primaryview_section.tag_subject_of(('*', 'see_also', '*'), 'hidden')