1 <%# Copyright (C) The Arvados Authors. All rights reserved.
3 SPDX-License-Identifier: AGPL-3.0 %>
5 <% object ||= @object %>
6 <% if attrvalue.is_a? Hash then attrvalue.each do |infokey, infocontent| %>
8 <td><%= attr %>[<%= infokey %>]</td>
10 <%= render partial: 'application/arvados_attr_value', locals: { obj: object, attr: nil, attrvalue: infocontent } %>
14 <% elsif attrvalue.is_a? String or attrvalue.respond_to? :to_s %>
15 <tr class="<%= 'info' if %w(uuid owner_uuid created_at modified_at modified_by_user_uuid modified_by_client_uuid updated_at).include?(attr.to_s) %>">
18 <%= render partial: 'application/arvados_attr_value', locals: { obj: object, attr: attr, attrvalue: attrvalue } %>