equal
deleted
inserted
replaced
213 |
213 |
214 .. sourcecode:: python |
214 .. sourcecode:: python |
215 |
215 |
216 from logilab.common.decorators import monkeypatch |
216 from logilab.common.decorators import monkeypatch |
217 from cubicweb import ValidationError |
217 from cubicweb import ValidationError |
218 from cubicweb.web import uicfg, component |
218 from cubicweb.web.views import uicfg, component |
219 from cubicweb.web.views import basecontrollers |
219 from cubicweb.web.views import basecontrollers |
220 |
220 |
221 # hide displayed_on relation using uicfg since it will be displayed by the box below |
221 # hide displayed_on relation using uicfg since it will be displayed by the box below |
222 uicfg.primaryview_section.tag_object_of(('*', 'displayed_on', '*'), 'hidden') |
222 uicfg.primaryview_section.tag_object_of(('*', 'displayed_on', '*'), 'hidden') |
223 |
223 |