Skip to content

Commit

Permalink
Check dir role on da generation
Browse files Browse the repository at this point in the history
  • Loading branch information
pskl committed Nov 19, 2024
1 parent 4a32f3e commit 4982a58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/classes/_attributive_decisions_panel.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
%p Les décisions d'attribution sont en train d'être éditées, veuillez rafraichir la page dans quelques minutes. Vous pouvez commencer à remplir des coordonnées bancaires ou des PFMPs pendant ce temps.
- else
.buttons-group
- if current_establishment.missing_attributive_decisions?(selected_school_year)
- if current_establishment.missing_attributive_decisions?(selected_school_year) && current_user.director?
= attributive_decisions_generation_form
= attributive_decisions_download_button
- if current_establishment.with_attributive_decisions?(selected_school_year) && current_user.director?
Expand Down

0 comments on commit 4982a58

Please sign in to comment.