1 <ul class="nav nav-tabs">
2 <li class="active"><a href="#properties" data-toggle="tab">Properties</a></li>
3 <li><a href="#collections" data-toggle="tab">Collections (<%= @collections.count %>)</a></li>
6 <div class="tab-content">
7 <div id="properties" class="tab-pane fade in active">
8 <%= render partial: 'application/arvados_object' %>
10 <div id="collections" class="tab-pane fade">
11 <table class="table table-condensed table-hover">
14 <th style="text-align: right">size</th>
20 <% if @collections then @collections.each do |collection| %>
22 <td style="text-align: right">
23 <%= raw(human_readable_bytes_html(collection.total_bytes)) %>
25 <% if @pgp_hu_id[collection.uuid] %>
26 <a class="label" href="https://my.personalgenomes.org/profile/<%= @pgp_hu_id[collection.uuid] %>"><tt><%= @pgp_hu_id[collection.uuid] %></tt></a>
28 <% (@names[collection.uuid] || []).compact.each do |name| %>
32 <%= link_to_if_arvados_object collection %>
34 <% if @keep_flag[collection.uuid] %>
35 <span class="badge badge-success">✔</span>
37 <span class="badge badge-warning">✖</span>
44 <tr class="info" style="border-top:2px solid #000">
45 <td style="text-align: right">
46 <%= raw(human_readable_bytes_html(@collections_total_bytes)) %>