]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-8375 Display the summary of a search on the "Issues" page
authorStas Vilchik <vilchiks@gmail.com>
Thu, 10 Nov 2016 08:58:31 +0000 (09:58 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Thu, 10 Nov 2016 12:23:45 +0000 (13:23 +0100)
server/sonar-web/src/main/js/apps/issues/styles.css
server/sonar-web/src/main/js/apps/issues/templates/issues-workspace-header.hbs

index 5534dc2e508ce619f45ece148ea02be8ab170942..46942bb2796fdb996b3f4e6a6308c6dbdba30291 100644 (file)
   margin-right: 20px;
   font-size: 12px;
 }
+
+.issues-header-order {
+  display: inline-block;
+  vertical-align: top;
+  margin-right: 20px;
+  font-size: 12px;
+}
index f33e6ef580de25599b886d7608f73bce98174fe3..d6c5d6eb266553e7c3801f6d0a43c287293ccee4 100644 (file)
 
 <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}}