[Fix #1825] Also show previews for archived procedures

This commit is contained in:
Frederic Merizen 2018-05-09 18:28:41 +02:00
parent 949f3f30b9
commit 26f9ec0122

View file

@ -19,8 +19,7 @@
%td{ style: 'width: 750px;' }
= procedure.libelle
%td{ style: 'padding-right: 10px; padding-left: 10px; width: 60px;' }
- if !procedure.archivee?
= link_to('Consulter', apercu_procedure_path(id: procedure.id), target: "_blank")
= link_to('Consulter', apercu_procedure_path(id: procedure.id), target: "_blank")
%td
= link_to('Cloner', admin_procedure_clone_path(procedure.id, from_new_from_existing: true), 'data-method' => :put, class: 'btn-sm btn-primary clone-btn')
%td{ style: 'padding-left: 10px;' }