demarches-normaliennes/app/views/instructeurs/dossiers/_header_actions.html.haml

19 lines
1,011 B
Text
Raw Normal View History

%ul.fr-btns-group.fr-btns-group--sm.fr-btns-group--inline-md.fr-btns-group--icon-right.flex.justify-end.fr-mb-1w
2023-02-14 17:57:50 +01:00
= render partial: "instructeurs/procedures/dossier_actions",
locals: { procedure_id: dossier.procedure.id,
dossier_id: dossier.id,
dossier: dossier,
2023-02-14 17:57:50 +01:00
state: dossier.state,
archived: dossier.archived,
dossier_is_followed: current_instructeur&.follow?(dossier),
close_to_expiration: dossier.close_to_expiration?,
hidden_by_administration: dossier.hidden_by_administration?,
hidden_by_expired: dossier.hidden_by_expired?,
has_pending_correction: dossier.pending_correction?,
has_blocking_pending_correction: dossier.procedure.feature_enabled?(:blocking_pending_correction) && dossier.pending_correction?,
turbo: true,
with_menu: true }
%li.instruction-button
= render Instructeurs::InstructionMenuComponent.new(dossier:)