From: Philippe Perrin Date: Thu, 26 Aug 2021 09:12:16 +0000 (+0200) Subject: SONAR-15327 Inform admin users that DevOps Platform secrets can be encrypted X-Git-Tag: 9.1.0.47736~79 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=28806a79e2138ca1307947ed75dd84d9a002e236;p=sonarqube.git SONAR-15327 Inform admin users that DevOps Platform secrets can be encrypted --- diff --git a/server/sonar-web/src/main/js/apps/settings/components/almIntegration/AlmBindingDefinitionFormField.tsx b/server/sonar-web/src/main/js/apps/settings/components/almIntegration/AlmBindingDefinitionFormField.tsx index f07477bc8df..07142dc6f7b 100644 --- a/server/sonar-web/src/main/js/apps/settings/components/almIntegration/AlmBindingDefinitionFormField.tsx +++ b/server/sonar-web/src/main/js/apps/settings/components/almIntegration/AlmBindingDefinitionFormField.tsx @@ -18,7 +18,10 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ import * as React from 'react'; +import { FormattedMessage } from 'react-intl'; +import { Link } from 'react-router'; import { ButtonLink } from '../../../../components/controls/buttons'; +import { Alert } from '../../../../components/ui/Alert'; import MandatoryFieldMarker from '../../../../components/ui/MandatoryFieldMarker'; import { translate } from '../../../../helpers/l10n'; import { AlmBindingDefinitionBase } from '../../../../types/alm-settings'; @@ -35,6 +38,7 @@ export interface AlmBindingDefinitionFormFieldProps( @@ -49,7 +53,8 @@ export function AlmBindingDefinitionFormField} {help &&
{help}
} -
+
{!showField && overwriteOnly && (
-

{translate('settings.almintegration.form.secret_field')}

+

{translate('settings.almintegration.form.secret.field')}

{ props.onFieldChange(propKey, ''); setShowField(true); }}> - {translate('settings.almintegration.form.update_secret_field')} + {translate('settings.almintegration.form.secret.update_field')}
)} {showField && isTextArea && (