]> source.dussan.org Git - sonarqube.git/commitdiff
improve readiablity of footer on background tasks page
authorStas Vilchik <vilchiks@gmail.com>
Mon, 21 Mar 2016 13:17:49 +0000 (14:17 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Mon, 21 Mar 2016 13:18:29 +0000 (14:18 +0100)
server/sonar-web/src/main/js/components/shared/list-footer.js

index 7b246764693d54c1450fe4433d43bef4df922660..5a501d7a8da5a459296c2d050260d29dcdc1d0e8 100644 (file)
@@ -20,6 +20,7 @@
 import classNames from 'classnames';
 import React from 'react';
 import { translate } from '../../helpers/l10n';
+import { formatMeasure } from '../../helpers/measures';
 
 
 export default React.createClass({
@@ -57,7 +58,7 @@ export default React.createClass({
     let className = classNames('spacer-top note text-center', { 'new-loading': !this.props.ready });
     return (
         <footer className={className}>
-          {this.props.count}/{this.props.total} shown
+          {formatMeasure(this.props.count, 'INT')} of {formatMeasure(this.props.total, 'INT')} shown
           {this.canLoadMore() && hasMore ? loadMoreLink : null}
         </footer>
     );