Add link from instructeur procedure view
This commit is contained in:
parent
477f7c9837
commit
652e95d0c5
1 changed files with 6 additions and 0 deletions
|
@ -13,6 +13,12 @@
|
||||||
|
|
|
|
||||||
= link_to 'statistiques', stats_instructeur_procedure_path(@procedure), class: 'header-link', data: { turbolinks: false } # Turbolinks disabled for Chartkick. See Issue #350
|
= link_to 'statistiques', stats_instructeur_procedure_path(@procedure), class: 'header-link', data: { turbolinks: false } # Turbolinks disabled for Chartkick. See Issue #350
|
||||||
|
|
||||||
|
- if @procedure.routee?
|
||||||
|
|
|
||||||
|
- if current_administrateur.present? && current_administrateur.owns?(@procedure)
|
||||||
|
= link_to 'instructeurs', procedure_groupe_instructeurs_path(@procedure), class: 'header-link'
|
||||||
|
- else
|
||||||
|
= link_to 'instructeurs', instructeur_groupes_path(@procedure), class: 'header-link'
|
||||||
|
|
||||||
%ul.tabs
|
%ul.tabs
|
||||||
= tab_item('à suivre',
|
= tab_item('à suivre',
|
||||||
|
|
Loading…
Add table
Reference in a new issue