Merge pull request #6538 from betagouv/reduce-fc-infos
Usager : les informations FranceConnect sont maintenant plus discrètes dans le formulaire (#6538)
This commit is contained in:
commit
0f60749ade
4 changed files with 18 additions and 6 deletions
12
app/assets/stylesheets/france-connect-informations.scss
Normal file
12
app/assets/stylesheets/france-connect-informations.scss
Normal file
|
@ -0,0 +1,12 @@
|
|||
@import "constants";
|
||||
|
||||
.france-connect-informations.card {
|
||||
width: 100%;
|
||||
padding-top: $default-spacer;
|
||||
padding-bottom: $default-spacer;
|
||||
}
|
||||
|
||||
.france-connect-informations-logo img {
|
||||
width: 100px;
|
||||
margin-right: $default-padding;
|
||||
}
|
|
@ -13,7 +13,7 @@ module ProcedureHelper
|
|||
safe_join(parts, ' ')
|
||||
end
|
||||
|
||||
def procedure_publish_text(procedure, key)
|
||||
def procedure_publish_label(procedure, key)
|
||||
# i18n-tasks-use t('modal.publish.body.publish')
|
||||
# i18n-tasks-use t('modal.publish.body.reopen')
|
||||
# i18n-tasks-use t('modal.publish.submit.publish')
|
||||
|
|
|
@ -40,4 +40,4 @@
|
|||
- if errors.details[:path].present?
|
||||
- options[:disabled] = :disabled
|
||||
.flex.justify-end
|
||||
= submit_tag procedure_publish_text(procedure, :submit), options
|
||||
= submit_tag procedure_publish_label(procedure, :submit), options
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
.card.featured
|
||||
.flex.justify-center
|
||||
= image_tag "logo-france-connect.png", alt: "France Connect logo", width: 200, class: "mb-2"
|
||||
.card-title
|
||||
.france-connect-informations.card.featured.flex.align-center
|
||||
.france-connect-informations-logo
|
||||
= image_tag "logo-france-connect.png", alt: "France Connect logo"
|
||||
%div
|
||||
- if user_information.updated_at.present?
|
||||
Le dossier a été déposé par le compte de #{user_information&.given_name} #{user_information&.family_name}, authentifié par France Connect le #{user_information.updated_at.strftime('%d/%m/%Y')}.
|
||||
- else
|
||||
|
|
Loading…
Reference in a new issue