From: Stas Vilchik Date: Tue, 1 Jul 2014 09:57:22 +0000 (+0600) Subject: SONAR-5209 Update issue limit message X-Git-Tag: 4.4-RC1~70 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=165693e2b0c4b832fc06aecc65d6c2ca68f8338d;p=sonarqube.git SONAR-5209 Update issue limit message --- diff --git a/sonar-core/src/main/resources/org/sonar/l10n/core.properties b/sonar-core/src/main/resources/org/sonar/l10n/core.properties index 2d746c37992..d650fd7c4bf 100644 --- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties +++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties @@ -2670,7 +2670,8 @@ component_viewer.more_actions=More Actions component_viewer.new_window=Open in New Window component_viewer.get_permalink=Get Permalink component_viewer.covered_lines=Covered Lines -component_viewer.issues_limit_reached=Only the first {0} issues are displayed +component_viewer.issues_limit_reached=For usability reasons, only the {0} first issues will be fully displayed. Remaining issues will simply be underlined. +component_viewer.issues_limit_reached_tooltip={0} Refine your filter to be able to see the details of this issue. component_viewer.workspace=Workspace component_viewer.workspace.tooltip=Keeps track of history of navigation diff --git a/sonar-server/src/main/coffee/component-viewer/mixins/main-issues.coffee b/sonar-server/src/main/coffee/component-viewer/mixins/main-issues.coffee index 0ac15af4560..8554bbd7964 100644 --- a/sonar-server/src/main/coffee/component-viewer/mixins/main-issues.coffee +++ b/sonar-server/src/main/coffee/component-viewer/mixins/main-issues.coffee @@ -126,4 +126,4 @@ define [ filterByCriticalIssues: -> @filterByIssues (issue) -> issue.severity == 'CRITICAL' && !issue.resolution filterByMajorIssues: -> @filterByIssues (issue) -> issue.severity == 'MAJOR' && !issue.resolution filterByMinorIssues: -> @filterByIssues (issue) -> issue.severity == 'MINOR' && !issue.resolution - filterByInfoIssues: -> @filterByIssues (issue) -> issue.severity == 'INFO' && !issue.resolution \ No newline at end of file + filterByInfoIssues: -> @filterByIssues (issue) -> issue.severity == 'INFO' && !issue.resolution diff --git a/sonar-server/src/main/coffee/component-viewer/source.coffee b/sonar-server/src/main/coffee/component-viewer/source.coffee index e88be3c39d4..64567a8f84a 100644 --- a/sonar-server/src/main/coffee/component-viewer/source.coffee +++ b/sonar-server/src/main/coffee/component-viewer/source.coffee @@ -122,6 +122,8 @@ define [ @options.main.requestComponent(@options.main.key, false, false).done => @options.main.headerView.silentUpdate = true @options.main.headerView.render() + else + row.prop 'title', tp('component_viewer.issues_limit_reached_tooltip', issue.message) showSpinner: ->