Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(convention-collectives): texte plus clair pour la dialog de confirmation de suppression de la CC #1433

Merged
merged 2 commits into from
Jul 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -114,16 +114,19 @@ export const AgreementEdition = ({ id }: Props): React.ReactElement => {
<p>
Merci de contacter l&apos;équipe de dev sur mattermost dans les
cas suivants :
<ul>
<li>
La convention collective a été fusionnée dans une autre
convention collective.
</li>
<li>
Si la convention collective a été divisée en plusieurs
conventions collectives
</li>
</ul>
</p>
<ul>
<li>
La convention collective a été fusionnée dans une autre
convention collective.
</li>
<li>
Si la convention collective a été divisée en plusieurs
conventions collectives
</li>
</ul>
<p>
Voulez-vous quand même la supprimer maintenant&nbsp;?
</p>
</DialogContentText>
</DialogContent>
Expand All @@ -136,6 +139,9 @@ export const AgreementEdition = ({ id }: Props): React.ReactElement => {
Annuler
</Button>
<Button
variant="contained"
type="button"
color="success"
onClick={async () => {
if (data?.id) {
await deleteAgreement({ id: data.id });
Expand All @@ -148,7 +154,7 @@ export const AgreementEdition = ({ id }: Props): React.ReactElement => {
}}
autoFocus
>
Supprimer
Oui
</Button>
</DialogActions>
</Dialog>
Expand Down
Loading