aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps')
-rw-r--r--server/sonar-web/src/main/js/apps/issues/styles.css7
-rw-r--r--server/sonar-web/src/main/js/apps/issues/templates/issues-workspace-header.hbs18
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}}