Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-39300

View.getDisplayName() is ignored when rendering tabs

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The View.getDisplayName() is used when rendering the breadcrumb but not in the tabs. Thus a view that wants to use a localizable display name becomes confusing to users. For example in the attached screenshot:

      Here is a custom view with a view name of s that has overridden getDisplayName() to return a custom name asdjkls. The URL of the page is /view/s/, the breadcrumb bar shows asdjkls but the tab bar title is incorrectly showing as s

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            core/src/main/resources/hudson/views/DefaultMyViewsTabBar/myViewTabs.jelly
            core/src/main/resources/hudson/views/DefaultViewsTabBar/viewTabs.jelly
            core/src/main/resources/lib/layout/tab.jelly
            http://jenkins-ci.org/commit/jenkins/0763ffd0e928eeb7b2411701f03a165139902f54
            Log:
            [FIXED JENKINS-39300] Use View.getDisplayName() when rendering the view tabs

            • Also fix the stapler documentation for the <l:tab> tag
            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: core/src/main/resources/hudson/views/DefaultMyViewsTabBar/myViewTabs.jelly core/src/main/resources/hudson/views/DefaultViewsTabBar/viewTabs.jelly core/src/main/resources/lib/layout/tab.jelly http://jenkins-ci.org/commit/jenkins/0763ffd0e928eeb7b2411701f03a165139902f54 Log: [FIXED JENKINS-39300] Use View.getDisplayName() when rendering the view tabs Also fix the stapler documentation for the <l:tab> tag
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Released in jenkins-2.37, marking as LTS candidate

            Show
            oleg_nenashev Oleg Nenashev added a comment - Released in jenkins-2.37, marking as LTS candidate

              People

              • Assignee:
                stephenconnolly Stephen Connolly
                Reporter:
                stephenconnolly Stephen Connolly
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: