Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-25740

Picture document subtypes should inherit the Picture View Layout

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.2
    • Fix Version/s: 10.3
    • Component/s: Web UI
    • Release Notes Summary:
      Picture subtype now inherit Picture view layout
    • Impact type:
      Configuration Change
    • Upgrade notes:
      Hide

      The nuxeo-picture-document-page will now be displayed for documents with facet Picture. If the previous behavior is desired, the default contribution can be overridden as follows:

      <nuxeo-slot-content name="pictureDocumentViewPage" slot="DOCUMENT_VIEWS_PAGES" order="5">
        <template>
          <nuxeo-filter document="[[document]]" type="Picture">
            <template>
              <nuxeo-picture-document-page name="view" document="[[document]]"></nuxeo-picture-document-page>
            </template>
          </nuxeo-filter>
        </template>
      </nuxeo-slot-content>
      
      Show
      The nuxeo-picture-document-page will now be displayed for documents with facet Picture. If the previous behavior is desired, the default contribution can be overridden as follows: <nuxeo-slot-content name= "pictureDocumentViewPage" slot= "DOCUMENT_VIEWS_PAGES" order= "5" > <template> <nuxeo-filter document= "[[document]]" type= "Picture" > <template> <nuxeo-picture-document-page name= "view" document= "[[document]]" ></nuxeo-picture-document-page> </template> </nuxeo-filter> </template> </nuxeo-slot-content>
    • Sprint:
      nxGang Sprint 10.3.4
    • Story Points:
      0

      Description

      In https://github.com/nuxeo/nuxeo-dam/blob/master/nuxeo-dam-web-ui/src/main/resources/web/nuxeo.war/ui/nuxeo-dam/nuxeo-dam.html#L37

      It should be

      <nuxeo-filter document="[[document]]" facet="Picture">

      Instead of

      <nuxeo-filter document="[[document]]" type="Picture">

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 10 minutes
                10m