demarches-normaliennes/app/views/new_user/dossiers/show/_header.html.haml

20 lines
749 B
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.

.sub-header
.container
= render partial: 'shared/dossiers/status_badge', locals: { dossier: dossier }
.title-container
%span.icon.folder
%h1= dossier.procedure.libelle
%h2
Dossier nº #{dossier.id}
- if dossier.en_construction_at.present?
= "- Déposé le #{l(dossier.en_construction_at, format: '%d %B %Y')}"
- if current_user.owns?(dossier)
.header-actions
= render partial: 'invites/dropdown', locals: { dossier: dossier }
%ul.tabs
= dynamic_tab_item('Résumé', dossier_path(dossier))
= dynamic_tab_item('Demande', [demande_dossier_path(dossier), modifier_dossier_path(dossier)])
= dynamic_tab_item('Messagerie', messagerie_dossier_path(dossier))