1 <% if attrvalue.is_a? Hash then attrvalue.each do |infokey, infocontent| %>
3 <td><%= attr %>[<%= infokey %>]</td>
6 <% if infocontent.is_a? Array and infocontent.collect(&:class).uniq.compact == [String] then infocontent.each do |message| %>
8 <% end; elsif infocontent.is_a? String %>
11 <%= infocontent.inspect %>
17 <% elsif attrvalue.is_a? String or attrvalue.respond_to? :to_s %>
18 <tr class="<%= 'info' if %w(uuid owner_uuid created_at modified_at modified_by_user_uuid modified_by_client_uuid updated_at).index(attr.to_s).nil? %>">
20 <% if attr == 'uuid' and (uuid = attrvalue.split('-')).size == 3 %>
21 <td><%= uuid[0..-2].join('-') %>-<b><%= uuid[-1] %></b></td>
22 <% elsif @object.attribute_editable?(attr) %>
23 <td><%= render_editable_attribute @object, attr %></td>
25 <td><%= link_to_if_arvados_object attrvalue, {referring_attr: attr, referring_object: @object, with_class_name: true} %></td>