2022-05-06 19:52:55 +02:00
|
|
|
|
.autosave.autosave-state-idle{ data: { controller: 'autosave-status' } }
|
2022-10-06 13:03:17 +02:00
|
|
|
|
%p.autosave-explanation.fr-text--sm
|
2019-11-19 17:55:30 +01:00
|
|
|
|
%span.autosave-explanation-text
|
2022-09-08 11:26:18 +02:00
|
|
|
|
- if dossier.brouillon?
|
|
|
|
|
= t('views.users.dossiers.autosave.draft_explanation')
|
|
|
|
|
- else
|
|
|
|
|
= t('views.users.dossiers.autosave.explanation')
|
2022-10-06 13:03:17 +02:00
|
|
|
|
= link_to t('views.users.dossiers.autosave.more_information'), FAQ_AUTOSAVE_URL, target: '_blank', rel: 'noopener', class: 'autosave-more-infos fr-link fr-link--sm'
|
2019-11-19 17:55:30 +01:00
|
|
|
|
|
|
|
|
|
%p.autosave-status.succeeded
|
|
|
|
|
%span.autosave-icon.icon.accept
|
|
|
|
|
%span.autosave-label
|
2022-09-08 11:26:18 +02:00
|
|
|
|
- if dossier.brouillon?
|
|
|
|
|
= t('views.users.dossiers.autosave.draft_confirmation')
|
|
|
|
|
- else
|
|
|
|
|
= t('views.users.dossiers.autosave.confirmation')
|
2022-10-06 13:03:17 +02:00
|
|
|
|
= link_to t('views.users.dossiers.autosave.more_information'), FAQ_AUTOSAVE_URL, target: '_blank', rel: 'noopener', class: 'autosave-more-infos fr-link fr-link--sm'
|
2019-11-19 17:55:30 +01:00
|
|
|
|
|
|
|
|
|
%p.autosave-status.failed
|
|
|
|
|
%span.autosave-icon ⚠️
|
|
|
|
|
%span.autosave-label Impossible d’enregistrer le brouillon
|
2022-05-06 19:52:55 +02:00
|
|
|
|
%button.button.small.autosave-retry{ type: :button, data: { action: 'autosave-status#onClickRetryButton', autosave_status_target: 'retryButton' } }
|
2019-11-19 17:55:30 +01:00
|
|
|
|
%span.autosave-retry-label réessayer
|
|
|
|
|
%span.autosave-retrying-label enregistrement en cours…
|
|
|
|
|
|