1 <div class="row row-fill-height">
3 <div class="panel panel-info">
4 <div class="panel-heading">
5 <h3 class="panel-title">
6 <% "Collection #{@object.uuid}" %>
9 <div class="panel-body">
10 <img src="/favicon.ico" class="pull-right" alt="" style="opacity: 0.3"/>
11 <% if not (@output_of.andand.any? or @log_of.andand.any?) %>
12 <p><i>No source information available.</i></p>
15 <% if @output_of.andand.any? %>
16 <p>This collection was the output of:<br />
17 <%= render_arvados_object_list_start(@output_of, 'Show all jobs',
18 jobs_path(filter: [['output', '=', @object.uuid]].to_json)) do |job| %>
19 <%= link_to_if_arvados_object(job, friendly_name: true) %><br />
24 <% if @log_of.andand.any? %>
25 <p>This collection contains log messages from:<br />
26 <%= render_arvados_object_list_start(@log_of, 'Show all jobs',
27 jobs_path(filter: [['log', '=', @object.uuid]].to_json)) do |job| %>
28 <%= link_to_if_arvados_object(job, friendly_name: true) %><br />
35 <div class="col-md-3">
36 <div class="panel panel-default">
37 <div class="panel-heading">
38 <h3 class="panel-title">
42 <div class="panel-body smaller-text">
44 <input type="text" class="form-control" placeholder="Search"/>
46 <div style="height:0.5em;"></div>
47 <% if not @logs.andand.any? %>
49 Created: <%= @object.created_at.to_s(:long) %>
52 Last modified: <%= @object.modified_at.to_s(:long) %> by <%= link_to_if_arvados_object @object.modified_by_user_uuid, friendly_name: true %>
55 <%= render_arvados_object_list_start(@logs, 'Show all activity',
56 logs_path(filters: [['object_uuid','=',@object.uuid]].to_json)) do |log| %>
58 <%= time_ago_in_words(log.event_at) rescue 'unknown time' %> ago: <%= log.summary %>
59 <% if log.object_uuid %>
60 <%= link_to_if_arvados_object log.object_uuid, link_text: raw('<i class="fa fa-hand-o-right"></i>') %>
68 <div class="col-md-3">
69 <div class="panel panel-default">
70 <div class="panel-heading">
71 <h3 class="panel-title">
72 Sharing and permissions
75 <div class="panel-body">
77 <input type="text" class="form-control" placeholder="Search"/>
80 <div id="sharing-button">
81 <%= render partial: 'sharing_button' %>
84 <div style="height:0.5em;"></div>
85 <% if @folders.andand.any? %>
86 <p>Included in folders:<br />
87 <%= render_arvados_object_list_start(@folders, 'Show all folders',
88 links_path(filter: [['head_uuid', '=', @object.uuid],
89 ['link_class', '=', 'name']].to_json)) do |folder| %>
90 <%= link_to_if_arvados_object(folder, friendly_name: true) %><br />
94 <% if @permissions.andand.any? %>
96 <%= render_arvados_object_list_start(@permissions, 'Show all permissions',
97 links_path(filter: [['head_uuid', '=', @object.uuid],
98 ['link_class', '=', 'permission']].to_json)) do |link| %>
99 <%= link_to_if_arvados_object(link.tail_uuid, friendly_name: true) %><br />
109 <%= render file: 'application/show.html.erb' %>