44 lines
2.4 KiB
Text
44 lines
2.4 KiB
Text
- if dossier.france_connect_information.present?
|
|
- content_for(:notice_info) do
|
|
= render partial: "shared/dossiers/france_connect_informations_notice", locals: { user_information: dossier.france_connect_information }
|
|
|
|
.fr-container.counter-start-header-section.dossier-show
|
|
.fr-grid-row.fr-grid-row--center
|
|
.fr-col-xl-10
|
|
%h2.fr-h6.fr-background-alt--grey.fr-mb-0
|
|
.flex-grow.fr-py-3v.fr-px-4v= t('views.shared.dossiers.demande.en_construction')
|
|
|
|
- if dossier.depose_at.present?
|
|
= render partial: "shared/dossiers/infos_generales", locals: { dossier: dossier }
|
|
|
|
.tab-title
|
|
%h2.fr-h6.fr-background-alt--grey.fr-mb-0.flex
|
|
.flex-grow.fr-py-3v.fr-px-4v
|
|
= t('views.shared.dossiers.demande.requester_identity')
|
|
|
|
- if dossier.identity_updated_at.present? && demande_seen_at&.<(dossier.identity_updated_at)
|
|
%span.fr-badge.fr-badge--new.fr-badge--sm
|
|
= t('views.shared.dossiers.demande.requester_identity_updated_at', date: try_format_datetime(dossier.identity_updated_at))
|
|
|
|
- if dossier.etablissement.present? && profile == 'usager' && !dossier.read_only?
|
|
= link_to t('views.shared.dossiers.demande.edit_siret'), siret_dossier_path(dossier), class: 'fr-py-3v fr-btn fr-btn--tertiary-no-outline'
|
|
|
|
- if dossier.individual.present? && profile == 'usager' && !dossier.read_only?
|
|
= link_to t('views.shared.dossiers.demande.edit_identity'), identite_dossier_path(dossier), class: 'fr-py-3v fr-btn fr-btn--tertiary-no-outline'
|
|
|
|
|
|
.fr-my-4v.fr-px-4v
|
|
= render partial: "shared/dossiers/user_infos", locals: { user_deleted: dossier.user_deleted?, email: dossier.user_email_for(:display) }
|
|
|
|
- if dossier.etablissement.present?
|
|
= render partial: "shared/dossiers/identite_entreprise", locals: { etablissement: dossier.etablissement, profile: profile }
|
|
|
|
- if dossier.individual.present?
|
|
= render partial: "shared/dossiers/identite_individual", locals: { individual: dossier.individual }
|
|
|
|
%h2.fr-h6.fr-background-alt--grey.fr-mb-0.flex
|
|
.flex-grow.fr-py-3v.fr-px-4v= t('views.shared.dossiers.demande.form')
|
|
|
|
- champs = dossier.champs_public
|
|
- if champs.any? || dossier.procedure.routing_enabled?
|
|
= render partial: "shared/dossiers/champs", locals: { champs: champs, dossier: dossier, demande_seen_at: demande_seen_at, profile: profile }
|