From: Pascal Mugnier Date: Tue, 1 May 2018 13:26:39 +0000 (+0200) Subject: Fix SONAR-10553 X-Git-Tag: 7.5~1283 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c9f8e544ded8b8add74dc0d83dee9d9ae6be4da3;p=sonarqube.git Fix SONAR-10553 --- diff --git a/server/sonar-web/src/main/js/apps/projectActivity/components/Event.js b/server/sonar-web/src/main/js/apps/projectActivity/components/Event.js index e9b3629546b..6d25558770f 100644 --- a/server/sonar-web/src/main/js/apps/projectActivity/components/Event.js +++ b/server/sonar-web/src/main/js/apps/projectActivity/components/Event.js @@ -22,7 +22,9 @@ import React from 'react'; import EventInner from './EventInner'; import ChangeEventForm from './forms/ChangeEventForm'; import RemoveEventForm from './forms/RemoveEventForm'; +import Tooltip from '../../../components/controls/Tooltip'; import { DeleteButton, EditButton } from '../../../components/ui/buttons'; +import { translate } from '../../../helpers/l10n'; /*:: import type { Event as EventType } from '../types'; */ /*:: @@ -94,10 +96,17 @@ export default class Event extends React.PureComponent { {showActions && (
{canChange && ( - + + + )} {canDelete && ( - + + + )}
)} diff --git a/sonar-core/src/main/resources/org/sonar/l10n/core.properties b/sonar-core/src/main/resources/org/sonar/l10n/core.properties index 0a5d7f44121..622cfbdde75 100644 --- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties +++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties @@ -983,6 +983,8 @@ project_activity.reset_dates=Reset dates project_activity.delete_analysis=Delete Analysis project_activity.delete_analysis.question=Are you sure you want to delete this analysis from the history? project_activity.filter_events=Filter events +project_activity.events.tooltip.edit=Edit this event +project_activity.events.tooltip.delete=Delete this event project_activity.graphs.issues=Issues project_activity.graphs.coverage=Coverage