From c0b7ba1cf57945928adb00925e1ff9a572394ecc Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Thu, 10 Nov 2016 09:58:31 +0100 Subject: [PATCH] SONAR-8375 Display the summary of a search on the "Issues" page --- .../src/main/js/apps/issues/styles.css | 7 +++++++ .../templates/issues-workspace-header.hbs | 18 +++++++++++------- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/server/sonar-web/src/main/js/apps/issues/styles.css b/server/sonar-web/src/main/js/apps/issues/styles.css index 5534dc2e508..46942bb2796 100644 --- a/server/sonar-web/src/main/js/apps/issues/styles.css +++ b/server/sonar-web/src/main/js/apps/issues/styles.css @@ -14,3 +14,10 @@ margin-right: 20px; font-size: 12px; } + +.issues-header-order { + display: inline-block; + vertical-align: top; + margin-right: 20px; + font-size: 12px; +} diff --git a/server/sonar-web/src/main/js/apps/issues/templates/issues-workspace-header.hbs b/server/sonar-web/src/main/js/apps/issues/templates/issues-workspace-header.hbs index f33e6ef580d..d6c5d6eb266 100644 --- a/server/sonar-web/src/main/js/apps/issues/templates/issues-workspace-header.hbs +++ b/server/sonar-web/src/main/js/apps/issues/templates/issues-workspace-header.hbs @@ -34,15 +34,19 @@
{{#notNull state.total}} + {{#unless state.component}} +
Ordered: by creation date
+ {{/unless}}
+ {{#unless state.component}}Issues:{{/unless}} {{#gt state.total 0}} - - - {{sum state.selectedIndex 1}} - / - {{formatMeasure state.total 'INT'}} - - + + + {{sum state.selectedIndex 1}} + / + {{formatMeasure state.total 'INT'}} + + {{else}} 0 / 0 {{/gt}} -- 2.39.5