diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-11-10 09:58:31 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2016-11-10 13:23:45 +0100 |
commit | c0b7ba1cf57945928adb00925e1ff9a572394ecc (patch) | |
tree | 4893b0c6aa0629e21d4219c8c33e6228e1810f9e /server/sonar-web | |
parent | 7a5ed51a7fd41ec9b2e2ff6c627a8e9809efa18e (diff) | |
download | sonarqube-c0b7ba1cf57945928adb00925e1ff9a572394ecc.tar.gz sonarqube-c0b7ba1cf57945928adb00925e1ff9a572394ecc.zip |
SONAR-8375 Display the summary of a search on the "Issues" page
Diffstat (limited to 'server/sonar-web')
-rw-r--r-- | server/sonar-web/src/main/js/apps/issues/styles.css | 7 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/apps/issues/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 @@ <div class="search-navigator-header-actions"> {{#notNull state.total}} + {{#unless state.component}} + <div class="issues-header-order">Ordered: <strong>by creation date</strong></div> + {{/unless}} <div class="search-navigator-header-pagination flash flash-heavy"> + {{#unless state.component}}Issues:{{/unless}} {{#gt state.total 0}} - <a class="js-prev icon-prev" title="{{t "paging_previous"}}"></a> - <span class="current"> - {{sum state.selectedIndex 1}} - / - <span id="issues-total">{{formatMeasure state.total 'INT'}}</span> - </span> - <a class="js-next icon-next" title="{{t "paging_next"}}"></a> + <strong> + <span class="current"> + {{sum state.selectedIndex 1}} + / + <span id="issues-total">{{formatMeasure state.total 'INT'}}</span> + </span> + </strong> {{else}} <span class="current">0 / <span id="issues-total">0</span></span> {{/gt}} |