show published_at only if exist
This commit is contained in:
parent
1d6c2fd7eb
commit
4e8a6f6b11
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
||||||
%td= procedure.estimated_dossiers_count
|
%td= procedure.estimated_dossiers_count
|
||||||
%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)
|
%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('Cloner', admin_procedure_clone_path(procedure.id, from_new_from_existing: true), 'data-method' => :put, class: 'fr-btn fr-btn--tertiary fr-btn--sm')
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue