From 96aa3d769987fbbda70a7ad535ecf3be0601e686 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Mon, 30 Jun 2014 12:31:44 +0600 Subject: [PATCH] SONAR-5209 Cross project duplications --- .../hbs/component-viewer/duplicationPopup.hbs | 16 +++++++--------- sonar-server/src/main/less/component-viewer.less | 8 +++++++- 2 files changed, 14 insertions(+), 10 deletions(-) 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 +} -- 2.39.5