Uploaded image for project: 'Nuxeo Web UI'
  1. Nuxeo Web UI
  2. WEBUI-794

Display a label instead of doc id for the Root document

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.10
    • Fix Version/s: 3.0.15, 2.4.65
    • Component/s: Web UI
    • Release Notes Summary:
      The label is displayed instead of doc id for the Root document.
    • Backlog priority:
      200
    • Team:
      UI
    • Sprint:
      UI - 2022-8, UI COOLDOWN - 2022-07

      Description

      There are 2 elements, nuxeo-recent-documents and nuxeo-clipboard, which displays the title of documents with

                  <div class="list-item-info">
                    <nuxeo-document-thumbnail document="[[document]]"></nuxeo-document-thumbnail>
                    <div class="list-item-title">[[document.title]]</div>
                  </div>
      
      

      However the Root document does not have any title, so its UUID is displayed instead.

      She should display the label "browse.root" as it's done for the document tree or the breadcrumb

          _title: function(item) {
            return (item.type === 'Root') ? this.i18n('browse.root') : item.title;
          },
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 45 minutes
                45m