Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-7520 Improve theme management
  3. NXP-7742

Theme export: make sure that external styles and that class="..." attributes are exported correctly

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Themes (deprecated)

      Description

      1) External styles registered as

        <extension target="org.nuxeo.theme.styling.service" point="pages">
          <themePage name="galaxy/default">
            <defaultFlavour>galaxy</defaultFlavour>
            <flavours append="true">
              <flavour>galaxy</flavour>
              <flavour>galaxy2</flavour>
            </flavours>
            <styles append="true">
              <style>nuxeo_dm_default</style>
              <style>nuxeo_dm_default2</style>
            </styles>
          </themePage>
        </extension>
      

      should not be included in the themes XML file when the theme is saved.

      => add a format.isExternal() flag

      2) class="..." attributes are not saved during theme export

        Attachments

          Activity

            People

            • Assignee:
              jmorliaguet Jean-Marc Orliaguet
              Reporter:
              jmorliaguet Jean-Marc Orliaguet
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: