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

amelioration(invite): ETQ invite, le fait que c'est au titulaire du dossier de deposer le dossier est plus visible #9322

Merged
Merged
Show file tree
Hide file tree
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
@@ -1,5 +1,5 @@
.autosave.autosave-state-idle{ data: { controller: 'autosave-status' } }
%p.autosave-explanation.fr-text--sm
%p.autosave-explanation.fr-text--sm.fr-mb-0
%span.autosave-explanation-text
- if annotation?
= t('.annotations.explanation')
Expand All @@ -10,7 +10,7 @@
- if !annotation?
= link_to t('.more_information'), t("links.common.faq.autosave_url"), class: 'autosave-more-infos fr-link fr-link--sm', **external_link_attributes

%p.autosave-status.succeeded
%p.autosave-status.succeeded.fr-mb-0
%span.autosave-icon.icon.accept
%span.autosave-label
- if annotation?
Expand All @@ -22,7 +22,7 @@
- if !annotation?
= link_to t('.more_information'), t("links.common.faq.autosave_url"), class: 'autosave-more-infos fr-link fr-link--sm', **external_link_attributes

%p.autosave-status.failed
%p.autosave-status.failed.fr-mb-0
%span.autosave-icon ⚠️
%span.autosave-label
- if annotation?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ en:
submit: Submit the file
submit_changes: Submit file changes
submitting: Submitting…
invite_notice: You are invited to make amendments to this file but only the owner themselves can submit it.
invite_notice: You are invited to make amendments to this file but <strong>only the owner themselves can submit it</strong>.
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ fr:
submit: Déposer le dossier
submit_changes: Déposer les modifications
submitting: Envoi en cours…
invite_notice: En tant qu’invité, vous pouvez remplir ce formulaire – mais le titulaire du dossier doit le déposer lui-même.
invite_notice: En tant qu’invité, vous pouvez remplir ce formulaire – mais <strong>le titulaire du dossier doit le déposer lui-même</strong>.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@


- if @dossier.brouillon? && !owner?
.send-notice.invite-cannot-submit
= t('.invite_notice')
.fr-pb-2w.invite-cannot-submit
= render ::Dsfr::AlertComponent.new(state: :info, title: nil, size: :sm, heading_level: :p, extra_class_names:'') do |c|
- c.body do
%p.fr-pb-0= t('.invite_notice').html_safe



- if !annotation?
= render partial: "shared/dossiers/submit_is_over", locals: { dossier: @dossier }