Deleted organisations are no longer linked
This commit is contained in:
parent
5e31f27b75
commit
b50bb7712f
@ -41,9 +41,10 @@
|
||||
%td= object
|
||||
%td= l version.created_at, format: :short
|
||||
%td
|
||||
%a{ href: polymorphic_path(version.item_type.tableize.singularize,
|
||||
id: version.item_id) }
|
||||
%em.fa.fa-eye
|
||||
- unless version.event == 'destroy'
|
||||
%a{ href: polymorphic_path(version.item_type.tableize.singularize,
|
||||
id: version.item_id) }
|
||||
%em.fa.fa-eye
|
||||
|
||||
%tfoot
|
||||
%tr
|
||||
|
Loading…
Reference in New Issue
Block a user