demarches-normaliennes/app/views/users/dossiers/_autosave.html.haml

20 lines
1 KiB
Text
Raw Normal View History

.autosave.autosave-state-idle{ data: { controller: 'autosave-status' } }
2019-11-19 17:55:30 +01:00
%p.autosave-explanation
%span.autosave-explanation-text
2021-04-17 18:49:00 +02:00
= t('views.users.dossiers.autosave.autosave_draft')
= link_to t('views.users.dossiers.autosave.more_infos'), FAQ_AUTOSAVE_URL, target: '_blank', rel: 'noopener', class: 'autosave-more-infos'
2019-11-19 17:55:30 +01:00
%p.autosave-status.succeeded
%span.autosave-icon.icon.accept
%span.autosave-label
2022-04-13 15:44:29 +02:00
= t('views.users.dossiers.autosave.autosave_confirmation')
= link_to t('views.users.dossiers.autosave.more_information'), FAQ_AUTOSAVE_URL, target: '_blank', rel: 'noopener', class: 'autosave-more-infos'
2019-11-19 17:55:30 +01:00
%p.autosave-status.failed
%span.autosave-icon ⚠️
%span.autosave-label Impossible denregistrer le brouillon
%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…