]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5209 Improve issue limit message & tooltips
authorStas Vilchik <vilchiks@gmail.com>
Tue, 1 Jul 2014 17:09:37 +0000 (23:09 +0600)
committerStas Vilchik <vilchiks@gmail.com>
Tue, 1 Jul 2014 17:09:45 +0000 (23:09 +0600)
sonar-core/src/main/resources/org/sonar/l10n/core.properties
sonar-server/src/main/hbs/component-viewer/source.hbs
sonar-server/src/main/less/ui.less

index 847745dfee084d8d31eb7696a30848308256c0ee..8c2868f8c2bc09dbff7f05cd4a5de70fed651d39 100644 (file)
@@ -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
index 707abcb8b88c03c440d1797373493d956eb1a7b6..79c44c4460f1314f1f0939be31c5b892526a24ef 100644 (file)
@@ -9,7 +9,7 @@
   {{/if}}
 
   {{#if issuesLimitReached}}
-    <p class="marginbottom10">{{tp 'component_viewer.issues_limit_reached' issuesLimit}}</p>
+    <p class="message-alert marginbottom10">{{tp 'component_viewer.issues_limit_reached' issuesLimit}}</p>
   {{/if}}
 
   <table class="code">
index 5feabf6cdf8e530669d404d5ff2d45c38c4a88eb..c687af8f6ee8b401a1c751c2fb12bbdc22d1aaf8 100644 (file)
@@ -278,3 +278,10 @@ input[type=button] {
     font-size: @smallFontSize;
   }
 }
+
+
+.message-alert {
+  display: block;
+  padding: 5px 8px;
+  border: 2px solid @orange;
+}