Merge pull request #1919 from betagouv/frederic/fix_1825-enable_archived_procedure_preview
[Fix #1825] Also show previews for archived procedures
This commit is contained in:
commit
a11ad1e1b2
1 changed files with 1 additions and 2 deletions
|
@ -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;' }
|
||||
|
|
Loading…
Reference in a new issue