From: Stas Vilchik Date: Mon, 30 Jun 2014 06:31:44 +0000 (+0600) Subject: SONAR-5209 Cross project duplications X-Git-Tag: 4.4-RC1~109 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=96aa3d769987fbbda70a7ad535ecf3be0601e686;p=sonarqube.git SONAR-5209 Cross project duplications --- diff --git a/sonar-server/src/main/hbs/component-viewer/duplicationPopup.hbs b/sonar-server/src/main/hbs/component-viewer/duplicationPopup.hbs index 5ca853ca564..4444ac429c2 100644 --- a/sonar-server/src/main/hbs/component-viewer/duplicationPopup.hbs +++ b/sonar-server/src/main/hbs/component-viewer/duplicationPopup.hbs @@ -2,15 +2,13 @@
{{t 'component_viewer.transition.duplication'}}
{{#each duplications}}
- {{#eq file.projectName ../component.projectName}} - - {{file.name}} - - {{else}} - - {{file.projectName}}:{{file.name}} - - {{/eq}} + {{#notEq file.projectName ../component.projectName}} + {{file.projectName}} + {{/notEq}} + + {{file.name}} + +
Lines: {{#joinEach blocks ','}} diff --git a/sonar-server/src/main/less/component-viewer.less b/sonar-server/src/main/less/component-viewer.less index 20b57ddb7b0..f506d0b7976 100644 --- a/sonar-server/src/main/less/component-viewer.less +++ b/sonar-server/src/main/less/component-viewer.less @@ -721,6 +721,12 @@ padding: 4px 0; } +.component-viewer-popup-label { + padding: 0 6px; + background-color: @barBackgroundColor; + font-weight: 500; +} + @font-face { @@ -728,4 +734,4 @@ src: url('../fonts/sourcecodepro-regular.woff') format('woff'); font-weight: normal; font-style: normal; -} \ No newline at end of file +}