Add feature flipped link in admin nav bar
This commit is contained in:
parent
a5ffe9f54b
commit
d136d023cd
1 changed files with 11 additions and 5 deletions
|
@ -30,11 +30,17 @@
|
||||||
.procedure-list-element
|
.procedure-list-element
|
||||||
Administrateurs
|
Administrateurs
|
||||||
|
|
||||||
%a#onglet-instructeurs{ href: url_for(admin_procedure_assigns_path(@procedure)) }
|
- if !feature_enabled?(:routage)
|
||||||
.procedure-list-element{ class: ('active' if active == 'Instructeurs') }
|
%a#onglet-instructeurs{ href: url_for(admin_procedure_assigns_path(@procedure)) }
|
||||||
Instructeurs
|
.procedure-list-element{ class: ('active' if active == 'Instructeurs') }
|
||||||
- if @procedure.missing_steps.include?(:instructeurs)
|
Instructeurs
|
||||||
%p.missing-steps (à compléter)
|
- if @procedure.missing_steps.include?(:instructeurs)
|
||||||
|
%p.missing-steps (à compléter)
|
||||||
|
|
||||||
|
- if feature_enabled?(:routage)
|
||||||
|
%a#onglet-instructeurs{ href: url_for(procedure_groupe_instructeurs_path(@procedure)) }
|
||||||
|
.procedure-list-element
|
||||||
|
Groupe d'instructeurs
|
||||||
|
|
||||||
- if !@procedure.locked?
|
- if !@procedure.locked?
|
||||||
%a#onglet-champs{ href: champs_procedure_path(@procedure) }
|
%a#onglet-champs{ href: champs_procedure_path(@procedure) }
|
||||||
|
|
Loading…
Reference in a new issue