mirror of
https://github.com/SonarSource/sonarqube.git
synced 2024-09-13 15:45:52 +02:00
fix wording on background tasks page
This commit is contained in:
parent
b3a8aafb69
commit
45a0649f99
@ -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>
|
||||||
|
|
||||||
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user