aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-11-23 09:34:38 +0100
committerStas Vilchik <vilchiks@gmail.com>2015-11-23 09:34:38 +0100
commit45a0649f99e6f6b35b1aa11d18676b3c03237e32 (patch)
treeaab811381715a68bd851b7d7e0ed78d35bdf4b5d
parentb3a8aafb6905f7c46031ce2d32e977dd330cb92f (diff)
downloadsonarqube-45a0649f99e6f6b35b1aa11d18676b3c03237e32.tar.gz
sonarqube-45a0649f99e6f6b35b1aa11d18676b3c03237e32.zip
fix wording on background tasks page
-rw-r--r--server/sonar-web/src/main/js/apps/background-tasks/stats.js11
1 files changed, 8 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/background-tasks/stats.js b/server/sonar-web/src/main/js/apps/background-tasks/stats.js
index b934075202b..f8010c93d68 100644
--- a/server/sonar-web/src/main/js/apps/background-tasks/stats.js
+++ b/server/sonar-web/src/main/js/apps/background-tasks/stats.js
@@ -1,7 +1,12 @@
import React from 'react';
-import {formatDuration} from './helpers';
+
+import { formatDuration } from './helpers';
+import { TooltipsMixin } from '../../components/mixins/tooltips-mixin';
+
export default React.createClass({
+ mixins: [TooltipsMixin],
+
onPendingCanceled(e) {
e.preventDefault();
this.props.cancelPending();
@@ -59,7 +64,7 @@ export default React.createClass({
if (this.props.failuresCount > 0) {
return (
<span>
- <a ref="failureCount" onClick={this.onFailuresClick} className="emphasised-measure"
+ <a ref="failureCount" onClick={this.onFailuresClick} className="emphasised-measure" data-toggle="tooltip"
title="Count of projects where processing of most recent analysis report failed"
href="#">{this.props.failuresCount}</a>
&nbsp;
@@ -69,7 +74,7 @@ export default React.createClass({
} else {
return (
<span>
- <span ref="failureCount" className="emphasised-measure"
+ <span ref="failureCount" className="emphasised-measure" data-toggle="tooltip"
title="Count of projects where processing of most recent analysis report failed">
{this.props.failuresCount}
</span>