fix wording on background tasks page

This commit is contained in:
Stas Vilchik 2015-11-23 09:34:38 +01:00
parent b3a8aafb69
commit 45a0649f99

View File

@ -1,7 +1,12 @@
import React from 'react'; import React from 'react';
import {formatDuration} from './helpers';
import { formatDuration } from './helpers';
import { TooltipsMixin } from '../../components/mixins/tooltips-mixin';
export default React.createClass({ export default React.createClass({
mixins: [TooltipsMixin],
onPendingCanceled(e) { onPendingCanceled(e) {
e.preventDefault(); e.preventDefault();
this.props.cancelPending(); this.props.cancelPending();
@ -59,7 +64,7 @@ export default React.createClass({
if (this.props.failuresCount > 0) { if (this.props.failuresCount > 0) {
return ( return (
<span> <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" title="Count of projects where processing of most recent analysis report failed"
href="#">{this.props.failuresCount}</a> href="#">{this.props.failuresCount}</a>
&nbsp; &nbsp;
@ -69,7 +74,7 @@ export default React.createClass({
} else { } else {
return ( return (
<span> <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"> title="Count of projects where processing of most recent analysis report failed">
{this.props.failuresCount} {this.props.failuresCount}
</span> </span>