1 <div class="row row-fill-height">
3 <div class="panel panel-info">
4 <div class="panel-heading">
5 <h3 class="panel-title">
6 <%= if @object.respond_to? :name
7 render_editable_attribute @object, :name
15 <div class="panel-body">
16 <div class="arv-description-as-subtitle">
17 <%= render_editable_attribute @object, 'description', nil, { 'data-emptytext' => "(No description provided)", 'data-toggle' => 'manual' } %>
19 <img src="/favicon.ico" class="pull-right" alt="" style="opacity: 0.3"/>
20 <p><i>Collection UUID:</i><br />
21 <%= render partial: "show_autoselect_text", locals: {text: @object.uuid, tagclass: "arvados-uuid"} %>
23 <p><i>Content address:</i><br />
24 <%= render partial: "show_autoselect_text", locals: {text: @object.portable_data_hash, tagclass: "arvados-uuid"} %>
26 <%= render partial: "show_source_summary" %>
30 <div class="col-md-3">
31 <div class="panel panel-default">
32 <div class="panel-heading">
33 <h3 class="panel-title">
37 <div class="panel-body smaller-text">
39 <input type="text" class="form-control" placeholder="Search"/>
41 <div style="height:0.5em;"></div>
42 <% name_or_object = @name_link.andand.uuid ? @name_link : @object %>
43 <% if name_or_object.created_at and not @logs.andand.any? %>
45 Created: <%= name_or_object.created_at.to_s(:long) if name_or_object.created_at %>
48 Last modified: <%= name_or_object.modified_at.to_s(:long) if name_or_object.modified_at %> by <%= link_to_if_arvados_object name_or_object.modified_by_user_uuid, friendly_name: true %>
51 <%= render_arvados_object_list_start(@logs, 'Show all activity',
52 logs_path(filters: [['object_uuid','=',name_or_object.uuid]].to_json)) do |log| %>
54 <%= time_ago_in_words(log.event_at) rescue 'unknown time' %> ago: <%= log.summary %>
55 <% if log.object_uuid %>
56 <%= link_to_if_arvados_object log.object_uuid, link_text: raw('<i class="fa fa-hand-o-right"></i>') %>
65 <div class="col-md-3">
66 <div class="panel panel-default">
67 <div class="panel-heading">
68 <h3 class="panel-title">
69 Sharing and permissions
72 <div class="panel-body">
74 <input type="text" class="form-control" placeholder="Search"/>
77 <div id="sharing-button">
78 <%= render partial: 'sharing_button' %>
81 <div style="height:0.5em;"></div>
82 <% if @projects.andand.any? %>
83 <p>Included in projects:<br />
84 <%= render_arvados_object_list_start(@projects, 'Show all projects',
85 links_path(filters: [['head_uuid', '=', @object.uuid],
86 ['link_class', '=', 'name']].to_json)) do |project| %>
87 <%= link_to_if_arvados_object(project, friendly_name: true) %><br />
91 <% if @permissions.andand.any? %>
93 <%= render_arvados_object_list_start(@permissions, 'Show all permissions',
94 links_path(filters: [['head_uuid', '=', @object.uuid],
95 ['link_class', '=', 'permission']].to_json)) do |link| %>
96 <%= link_to_if_arvados_object(link.tail_uuid, friendly_name: true) %><br />
105 <div class="col-md-3">
106 <div class="panel panel-default">
107 <div class="panel-heading">
108 <h3 class="panel-title">
112 <div class="panel-body">
113 You are accessing public data.
120 <%= render file: 'application/show.html.erb', locals: local_assigns %>