% outgoing = Link.where(tail_uuid: @object.uuid) %> <% incoming = Link.where(head_uuid: @object.uuid) %> <% if (outgoing | incoming).any? %>
link_class | name | tail | head | properties | |
---|---|---|---|---|---|
<%= render partial: 'show_object_button', locals: { object: link, size: 'xs' } %> <%= link.uuid %> | <%= link.link_class %> | <%= link.name %> | <%= link.tail_uuid == object.uuid ? 'this' : (render partial: 'application/arvados_attr_value', locals: { obj: link, attr: "tail_uuid", attrvalue: link.tail_uuid, editable: false }) %> | <%= link.head_uuid == object.uuid ? 'this' : (render partial: 'application/arvados_attr_value', locals: { obj: link, attr: "head_uuid", attrvalue: link.head_uuid, editable: false }) %> | <%= render partial: 'application/arvados_attr_value', locals: { obj: link, attr: "properties", attrvalue: link.properties, editable: false } %> |