[ARVADOS] updated: 9ff2df8cfa1f0798c22e4b3c6ef91d4677961295
Git user
git at public.curoverse.com
Wed May 31 16:55:30 EDT 2017
Summary of changes:
.../app/views/application/_breadcrumbs.html.erb | 2 +-
.../app/views/trash_items/_show_trash_items.html.erb | 14 ++++++--------
.../app/views/trash_items/_show_trash_rows.html.erb | 18 ++++--------------
.../app/views/work_units/_show_all_processes.html.erb | 2 +-
4 files changed, 12 insertions(+), 24 deletions(-)
via 9ff2df8cfa1f0798c22e4b3c6ef91d4677961295 (commit)
from 27355f62088566a9388972e128bfb8ba77790e9a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 9ff2df8cfa1f0798c22e4b3c6ef91d4677961295
Author: radhika <radhika at curoverse.com>
Date: Wed May 31 16:54:57 2017 -0400
9587: display name instead of clickable link and remove tags
diff --git a/apps/workbench/app/views/application/_breadcrumbs.html.erb b/apps/workbench/app/views/application/_breadcrumbs.html.erb
index 489dbf3..1af3ddc 100644
--- a/apps/workbench/app/views/application/_breadcrumbs.html.erb
+++ b/apps/workbench/app/views/application/_breadcrumbs.html.erb
@@ -69,7 +69,7 @@
<ul class="nav navbar-nav navbar-right">
<li>
<a href="/trash">
- <i class="fa fa-lg fa-fw fa-trash-o"></i>
+ <i class="fa fa-lg fa-fw fa-trash-o" style="padding-right: 1em"></i>
</a>
</li>
</ul>
diff --git a/apps/workbench/app/views/trash_items/_show_trash_items.html.erb b/apps/workbench/app/views/trash_items/_show_trash_items.html.erb
index dc615fc..af48990 100644
--- a/apps/workbench/app/views/trash_items/_show_trash_items.html.erb
+++ b/apps/workbench/app/views/trash_items/_show_trash_items.html.erb
@@ -1,5 +1,5 @@
-<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">
@@ -15,7 +15,7 @@
</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"
@@ -26,11 +26,10 @@
<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>
@@ -41,7 +40,6 @@
<th>Created at</th>
<th>Trashed at</th>
<th>Contents</th>
- <th>Tags</th>
<th></th>
</tr>
</thead>
diff --git a/apps/workbench/app/views/trash_items/_show_trash_rows.html.erb b/apps/workbench/app/views/trash_items/_show_trash_rows.html.erb
index 73b89dd..7e01e3d 100644
--- a/apps/workbench/app/views/trash_items/_show_trash_rows.html.erb
+++ b/apps/workbench/app/views/trash_items/_show_trash_rows.html.erb
@@ -4,7 +4,7 @@
<%= 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>
@@ -12,27 +12,17 @@
</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>
</tr>
diff --git a/apps/workbench/app/views/work_units/_show_all_processes.html.erb b/apps/workbench/app/views/work_units/_show_all_processes.html.erb
index ea17843..0fc1ef6 100644
--- a/apps/workbench/app/views/work_units/_show_all_processes.html.erb
+++ b/apps/workbench/app/views/work_units/_show_all_processes.html.erb
@@ -1,4 +1,4 @@
-<div class="container">
+<div class="container" style="width: 100%">
<div class="row">
<div class="pull-right">
<input type="text" class="form-control filterable-control recent-all-processes-filterable-control"
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list