<?xml version="1.0" encoding="UTF-8"?>
<registry xmlns:i18n="http://xml.zope.org/namespaces/i18n" i18n:domain="senaite.core">

  <!-- Site Title -->
  <record name="plone.site_title" interface="Products.CMFPlone.interfaces.controlpanel.ISiteSchema" field="site_title">
    <field type="plone.registry.field.TextLine">
      <default>SENAITE LIMS</default>
      <description xmlns:ns0="http://xml.zope.org/namespaces/i18n" ns0:domain="plone" ns0:translate="">This shows up in the title bar of browsers and in syndication feeds.</description>
      <title xmlns:ns0="http://xml.zope.org/namespaces/i18n" ns0:domain="plone" ns0:translate="">Site title</title>
    </field>
    <value>SENAITE LIMS</value>
  </record>

  <!-- Toolbar Logo -->
  <record name="senaite.toolbar_logo" interface="Products.CMFPlone.interfaces.controlpanel.ISiteSchema" field="toolbar_logo">
    <field type="plone.registry.field.TextLine">
      <default>/++plone++senaite.core.static/images/senaite.svg</default>
      <description xmlns:ns0="http://xml.zope.org/namespaces/i18n" ns0:domain="plone" ns0:translate="">This must be a URL relative to the site root.</description>
      <required>False</required>
      <title xmlns:ns0="http://xml.zope.org/namespaces/i18n" ns0:domain="plone" ns0:translate="">Relative URL for the SENAITE toolbar logo</title>
    </field>
    <value>/++plone++senaite.core.static/images/senaite.svg</value>
  </record>

  <!-- Toolbar CSS Styles -->
  <record name="senaite.toolbar_logo_styles" interface="Products.CMFPlone.interfaces.controlpanel.ISiteSchema" field="toolbar_logo_styles">
    <field type="plone.registry.field.Dict">
      <title>Toolbar CSS</title>
      <description>CSS styles for the toolbar logo</description>
      <key_type type="plone.registry.field.ASCIILine" />
      <value_type type="plone.registry.field.ASCIILine" />
    </field>
    <value>
      <element key="height">15px</element>
    </value>
  </record>

  <!-- Types to display in navigation -->
  <record name="plone.displayed_types" interface="Products.CMFPlone.interfaces.controlpanel.INavigationSchema" field="displayed_types">
    <field type="plone.registry.field.Tuple">
      <default>
        <element>WorksheetFolder</element>
        <element>BatchFolder</element>
        <element>ClientFolder</element>
        <element>Methods</element>
        <element>Folder</element>
        <element>Samples</element>
      </default>
      <description xmlns:ns0="http://xml.zope.org/namespaces/i18n" ns0:domain="plone" ns0:translate="">The content types that should be shown in the navigation and site map.</description>
      <missing_value/>
      <required>False</required>
      <title xmlns:ns0="http://xml.zope.org/namespaces/i18n" ns0:domain="plone" ns0:translate="">Displayed content types</title>
      <value_type type="plone.registry.field.Choice">
        <vocabulary>plone.app.vocabularies.ReallyUserFriendlyTypes</vocabulary>
      </value_type>
    </field>
    <value>
      <!-- Work Items -->
      <element>Samples</element>
      <element>BatchFolder</element>
      <element>ClientFolder</element>
      <element>Folder</element>
      <element>Methods</element>
      <element>WorksheetFolder</element>
      <!-- Setup Items -->
      <element>AnalysisCategories</element>
      <element>AnalysisProfiles</element>
      <element>AnalysisServices</element>
      <element>AnalysisSpecifications</element>
      <element>AnalysisTemplates</element>
      <element>AttachmentTypes</element>
      <element>Auditlog</element>
      <element>BatchLabels</element>
      <element>Calculations</element>
      <element>ContainerTypes</element>
      <element>Containers</element>
      <element>DynamicAnalysisSpecs</element>
      <element>InstrumentLocations</element>
      <element>InstrumentTypes</element>
      <element>Instruments</element>
      <element>LabContacts</element>
      <element>LabDepartments</element>
      <element>LabProducts</element>
      <element>Laboratory</element>
      <element>Manufacturers</element>
      <element>Preservations</element>
      <element>ReferenceDefinitions</element>
      <element>SampleConditions</element>
      <element>SampleMatrices</element>
      <element>SamplePoints</element>
      <element>SampleTypes</element>
      <element>SamplingDeviations</element>
      <element>StorageLocations</element>
      <element>SubGroups</element>
      <element>Suppliers</element>
      <element>WorksheetTemplates</element>
    </value>
  </record>

  <!-- Languages -->
  <record name="plone.available_languages" interface="plone.i18n.interfaces.ILanguageSchema" field="available_languages">
    <field type="plone.registry.field.List">
      <default>
        <element>en</element>
      </default>
      <description xmlns:ns0="http://xml.zope.org/namespaces/i18n" ns0:domain="plone" ns0:translate="description_available_languages">The languages in which the site should be translatable.</description>
      <missing_value/>
      <title xmlns:ns0="http://xml.zope.org/namespaces/i18n" ns0:domain="plone" ns0:translate="heading_available_languages">Available languages</title>
      <value_type type="plone.registry.field.Choice">
        <vocabulary>plone.app.vocabularies.AvailableContentLanguages</vocabulary>
      </value_type>
    </field>
    <value>
      <element>de</element>
      <element>en</element>
      <element>es</element>
      <element>pl</element>
      <element>th</element>
      <element>zh</element>
    </value>
  </record>

  <!-- Use language cookie (required to display the language menu) -->
  <record name="plone.use_cookie_negotiation" interface="plone.i18n.interfaces.ILanguageSchema" field="use_cookie_negotiation">
    <field type="plone.registry.field.Bool">
      <default>False</default>
      <description xmlns:ns0="http://xml.zope.org/namespaces/i18n" ns0:domain="plone" ns0:translate="description_cookie_manual_override">Required for the language selector viewlet to be rendered.</description>
      <required>False</required>
      <title xmlns:ns0="http://xml.zope.org/namespaces/i18n" ns0:domain="plone" ns0:translate="heading_cookie_manual_override">Use cookie for manual override</title>
    </field>
    <value>True</value>
  </record>

  <!-- Dashboard panels visibility -->
  <record name="senaite.core.dashboard_panels_visibility">
    <field type="plone.registry.field.Dict">
      <title>Dashboard panels visibility</title>
      <description>
        It is a dictionary with dashboard panel names as keys and
        strings as values. Values are strings containing the role and
        view permission for each role following this format:
        "role1,yes,role2,no,rol3,no"
      </description>
      <key_type type="plone.registry.field.TextLine" />
      <value_type type="plone.registry.field.TextLine" />
    </field>
    <value>
      <element key="analyses">null</element>
      <element key="analysisrequests">null</element>
      <element key="worksheets">null</element>
    </value>
  </record>

  <record name="plone.allowed_types" interface="Products.CMFPlone.interfaces.controlpanel.IMarkupSchema" field="allowed_types">
    <field type="plone.registry.field.Tuple">
      <default>
        <element>text/html</element>
      </default>
      <description xmlns:ns0="http://xml.zope.org/namespaces/i18n" ns0:domain="plone" ns0:translate="">Select which formats are available for users as alternative to the default format. Note that if new formats are installed, they will be enabled for text fields by default unless explicitly turned off here or by the relevant installer.</description>
      <missing_value/>
      <title xmlns:ns0="http://xml.zope.org/namespaces/i18n" ns0:domain="plone" ns0:translate="">Alternative formats</title>
      <value_type type="plone.registry.field.Choice">
        <vocabulary>plone.app.vocabularies.AllowableContentTypes</vocabulary>
      </value_type>
    </field>
    <value>
      <element>text/html</element>
    </value>
  </record>

</registry>
