-<div class="container selection-action-container">
- <div class="col-md-6 pull-left">
+<div class="container selection-action-container" style="width: 100%">
+ <div class="col-md-2 pull-left">
<div class="btn-group btn-group-sm">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">Selection... <span class="caret"></span></button>
<ul class="dropdown-menu" role="menu">
</ul>
</div>
</div>
- <div class="col-md-6 pull-right">
+ <div class="col-md-4 pull-right">
<input type="text" class="form-control filterable-control recent-trash-items"
placeholder="Search trash"
data-filterable-target="#recent-trash-items"
<table id="trash-index" class="topalign table table-condensed table-fixedlayout">
<colgroup>
<col width="5%" />
+ <col width="20%" />
<col width="15%" />
- <col width="10%" />
- <col width="10%" />
- <col width="30%" />
- <col width="25%" />
+ <col width="15%" />
+ <col width="40%" />
<col width="5%" />
</colgroup>
<th>Created at</th>
<th>Trashed at</th>
<th>Contents</th>
- <th>Tags</th>
<th></th>
</tr>
</thead>
<%= check_box_tag 'uuids[]', obj.uuid, false, :class => 'persistent-selection' %>
</td>
<td>
- <%= link_to_if_arvados_object obj, friendly_name: true %>
+ <%= if !obj.name.blank? then obj.name else obj.uuid end %>
<td>
<%= obj.created_at.to_s if obj.created_at %>
<td>
</td>
<td>
<% i = 0 %>
- <% while i < 3 and i < obj.files.length %>
+ <% while i < 5 and i < obj.files.length %>
<% file = obj.files[i] %>
<% file_path = "#{file[0]}/#{file[1]}" %>
- <%= link_to file[1], {controller: 'collections', action: 'show_file', uuid: obj.uuid, file: file_path, size: file[2], disposition: 'inline'}, {title: 'View in browser'} %><br />
+ <%= file_path %><br />
<% i += 1 %>
<% end %>
<% if i < obj.files.length %>
- ⋮
+ …
<% end %>
</td>
- <td>
- <span class="tag-container">
- <% if @collection_info[obj.uuid] %>
- <% @collection_info[obj.uuid][:tag_links].each do |tag_link| %>
- <span class="label label-info" data-tag-link-uuid="<%= tag_link.uuid %>"><%= tag_link.name %>
- </span>
- <% end %>
- <% end %>
- </span>
- </td>
<td>
<%= render partial: 'untrash_item', locals: {object:obj} %>
</td>