1 <%# Copyright (C) The Arvados Authors. All rights reserved.
3 SPDX-License-Identifier: AGPL-3.0 %>
5 <div class="row row-fill-height">
7 <div class="panel panel-info">
8 <div class="panel-heading">
9 <h3 class="panel-title">
10 <%= if @object.respond_to? :name
11 render_editable_attribute @object, :name
19 <div class="panel-body">
20 <div class="arv-description-as-subtitle">
21 <%= render_editable_attribute @object, 'description', nil, { 'data-emptytext' => "(No description provided)", 'data-toggle' => 'manual' } %>
23 <img src="/favicon.ico" class="pull-right" alt="" style="opacity: 0.3"/>
24 <p><i>Collection UUID:</i><br />
25 <%= render partial: "show_autoselect_text", locals: {text: @object.uuid, tagclass: "arvados-uuid"} %>
27 <p><i>Content address:</i><br />
28 <%= render partial: "show_autoselect_text", locals: {text: @object.portable_data_hash, tagclass: "arvados-uuid"} %>
30 <%= render partial: "show_source_summary" %>
35 <div class="col-md-5">
36 <div class="panel panel-default">
37 <div class="panel-heading">
38 <h3 class="panel-title">
39 Sharing and permissions
42 <div class="panel-body">
44 <input type="text" class="form-control" placeholder="Search"/>
47 <div id="sharing-button">
48 <%= render partial: 'sharing_button' %>
51 <div style="height:0.5em;"></div>
52 <% if @projects.andand.any? %>
53 <p>Included in projects:<br />
54 <%= render_arvados_object_list_start(@projects, 'Show all projects',
55 links_path(filters: [['head_uuid', '=', @object.uuid],
56 ['link_class', '=', 'name']].to_json)) do |project| %>
57 <%= link_to_if_arvados_object(project, friendly_name: true) %><br />
61 <% if @permissions.andand.any? %>
63 <%= render_arvados_object_list_start(@permissions, 'Show all permissions',
64 links_path(filters: [['head_uuid', '=', @object.uuid],
65 ['link_class', '=', 'permission']].to_json)) do |link| %>
66 <%= link_to_if_arvados_object(link.tail_uuid, friendly_name: true) %><br />
75 <div class="col-md-5">
76 <div class="panel panel-default">
77 <div class="panel-heading">
78 <h3 class="panel-title">
82 <div class="panel-body">
83 You are accessing public data.
90 <%= render file: 'application/show.html.erb', locals: local_assigns %>