Ajout de la prévisualisation de la démarche dans la page toutes les démarches
This commit is contained in:
parent
88bb0cc532
commit
c2296630fa
1 changed files with 5 additions and 1 deletions
|
@ -12,7 +12,11 @@
|
||||||
%td= procedure.administrateurs.count
|
%td= procedure.administrateurs.count
|
||||||
%td= t procedure.aasm_state, scope: 'activerecord.attributes.procedure.aasm_state'
|
%td= t procedure.aasm_state, scope: 'activerecord.attributes.procedure.aasm_state'
|
||||||
%td= l(procedure.published_at, format: :message_date_without_time) if procedure.published_at
|
%td= l(procedure.published_at, format: :message_date_without_time) if procedure.published_at
|
||||||
%td= link_to('Cloner', admin_procedure_clone_path(procedure.id, from_new_from_existing: true), 'data-method' => :put, class: 'fr-btn fr-btn--tertiary fr-btn--sm')
|
%td
|
||||||
|
= link_to('Consulter', apercu_admin_procedure_path(procedure.id), target: "_blank", class: 'fr-btn fr-btn--tertiary fr-btn--sm fr-mb-1w', title: new_tab_suffix('Aperçu de la démarche'))
|
||||||
|
= link_to('Cloner', admin_procedure_clone_path(procedure.id, from_new_from_existing: true), 'data-method' => :put, class: 'fr-btn fr-btn--tertiary fr-btn--sm')
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- if show_detail
|
- if show_detail
|
||||||
|
|
Loading…
Reference in a new issue