"""Panel for cioset management."""
from os.path import join, dirname
from ...lib.i18n import _
from ..handler_xml.panel_xml import PanelXml
# =============================================================================
class PanelCioset(PanelXml):
"""Class to manage cioset panel.
See: :class:`chrysalio.lib.panel.Panel`
"""
uid = 'cioset'
label = _('Assembly')
icon = '/cioxml/images/panel_cioset.png'
template = 'cioxml:Templates/panel_cioset.pt'
css = ('/cioxml/css/panel_cioset.css',)
javascripts = ('/cioxml/js/cioset.js',)
need_lock = True
call_button = _('Modify the assembly')
xsl = join(dirname(__file__), 'Xsl', 'cioset_panel.xsl')