1 <%# Copyright (C) The Arvados Authors. All rights reserved.
3 SPDX-License-Identifier: AGPL-3.0 %>
5 <% if attrvalue.is_a? Array and attrvalue.collect(&:class).uniq.compact == [String] %>
6 <% attrvalue.each do |message| %>
10 <% if attr and obj.attribute_editable?(attr) and (!defined?(editable) || editable) %>
11 <% if resource_class_for_uuid(attrvalue, {referring_object: obj, referring_attr: attr}) %>
12 <%= link_to_if_arvados_object attrvalue, {referring_attr: attr, referring_object: obj, with_class_name: true, friendly_name: true} %>
15 <%= render_editable_attribute obj, attr %>
16 <% elsif attr == 'uuid' %>
17 <%= link_to_if_arvados_object attrvalue, {referring_attr: attr, referring_object: obj, with_class_name: false, friendly_name: false} %>
19 <%= link_to_if_arvados_object attrvalue, {referring_attr: attr, referring_object: obj, with_class_name: true, friendly_name: true, thumbnail: true} %>
22 <% if resource_class_for_uuid(attrvalue, {referring_object: obj, referring_attr: attr}) %>
23 <%= link_to_if_arvados_object(attrvalue, { referring_object: obj, link_text: raw('<span class="glyphicon glyphicon-hand-right"></span>'), referring_attr: attr }) %>