demarches-normaliennes/app/views/instructeurs/dossiers/show.html.haml
mfo 2f6772c879
tech(review): add missing sticky behaviour to summary for instructeur
Co-Authored-By: LeSim <mail@simon.lehericey.net>
2024-06-21 16:03:58 +02:00

21 lines
1 KiB
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

- content_for(:title, "Demande · Dossier nº #{@dossier.id} (#{@dossier.owner_name})")
= render partial: "header", locals: { dossier: @dossier }
- if @dossier.etablissement&.as_degraded_mode?
.container
= render Dsfr::CalloutComponent.new(title: "Données de lentreprise non vérifiées", theme: :warning, icon: "fr-icon-feedback-fill") do |c|
- c.with_html_body do
%p
Les services de lINSEE sont indisponibles, nous ne pouvons pas vérifier les informations liées à létablissement de ce dossier.
%strong
Il nest pas possible daccepter ou de refuser un dossier sans cette étape.
%p
Les informations sur l'entreprise arriveront dici quelques heures.
.fr-container
.fr-grid-row.fr-grid-row--center
= render ViewableChamp::HeaderSectionsSummaryComponent.new(dossier: @dossier, is_private: false)
.fr-col-md-9
= render partial: "shared/dossiers/demande", locals: { dossier: @dossier, demande_seen_at: @demande_seen_at, profile: 'instructeur' }