From 5569a26cdbb2e22e86f6ebf6256a74cd53c1db60 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Tue, 1 Jul 2014 23:09:37 +0600 Subject: [PATCH] SONAR-5209 Improve issue limit message & tooltips --- .../src/main/resources/org/sonar/l10n/core.properties | 2 +- sonar-server/src/main/hbs/component-viewer/source.hbs | 2 +- sonar-server/src/main/less/ui.less | 7 +++++++ 3 files changed, 9 insertions(+), 2 deletions(-) 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 847745dfee0..8c2868f8c2b 100644 --- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties +++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties @@ -2671,7 +2671,7 @@ 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=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.issues_limit_reached_tooltip={0}\n\nRefine 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/hbs/component-viewer/source.hbs b/sonar-server/src/main/hbs/component-viewer/source.hbs index 707abcb8b88..79c44c4460f 100644 --- a/sonar-server/src/main/hbs/component-viewer/source.hbs +++ b/sonar-server/src/main/hbs/component-viewer/source.hbs @@ -9,7 +9,7 @@ {{/if}} {{#if issuesLimitReached}} -

{{tp 'component_viewer.issues_limit_reached' issuesLimit}}

+

{{tp 'component_viewer.issues_limit_reached' issuesLimit}}

{{/if}} diff --git a/sonar-server/src/main/less/ui.less b/sonar-server/src/main/less/ui.less index 5feabf6cdf8..c687af8f6ee 100644 --- a/sonar-server/src/main/less/ui.less +++ b/sonar-server/src/main/less/ui.less @@ -278,3 +278,10 @@ input[type=button] { font-size: @smallFontSize; } } + + +.message-alert { + display: block; + padding: 5px 8px; + border: 2px solid @orange; +} -- 2.39.5