demarches-normaliennes/app/views/shared/dossiers/_header.html.haml

16 lines
682 B
Text
Raw Normal View History

= status_badge(dossier.state)
.title-container
%span.icon.folder
%h1= procedure_libelle(dossier.procedure)
%h2
= t('views.users.dossiers.show.header.dossier_number', dossier_id: dossier.id)
= t('views.users.dossiers.show.header.created_date', date_du_dossier: I18n.l(dossier.created_at))
= render(partial: 'users/dossiers/expiration_banner', locals: {dossier: dossier})
2022-03-22 15:00:26 +01:00
- if current_user.owns?(dossier) && !dossier.procedure.discarded? && !dossier.procedure.close?
.header-actions
= render partial: 'invites/dropdown', locals: { dossier: dossier }
2022-03-22 15:00:26 +01:00
- else
= render(partial: 'users/dossiers/procedure_removed_banner', locals: { dossier: dossier })