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

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.10
    • Fix Version/s: HOTFIX_10.10_2.4, 3.0.x
    • Component/s: Web UI

      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

            • Assignee:
              Unassigned
              Reporter:
              tmartins Thierry Martins
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                PagerDuty

                Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.