projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '17719-keep-web-pdh-cache'
[arvados.git]
/
apps
/
workbench
/
app
/
views
/
application
/
_show_recent.html.erb
diff --git
a/apps/workbench/app/views/application/_show_recent.html.erb
b/apps/workbench/app/views/application/_show_recent.html.erb
index 3fdbcd701961ad8c708fb21e90fb8d168173d993..537cce7a3182feb25aee0e4a6ca1fd5cad5472a2 100644
(file)
--- a/
apps/workbench/app/views/application/_show_recent.html.erb
+++ b/
apps/workbench/app/views/application/_show_recent.html.erb
@@
-1,3
+1,7
@@
+<%# Copyright (C) The Arvados Authors. All rights reserved.
+
+SPDX-License-Identifier: AGPL-3.0 %>
+
<% if objects.empty? %>
<br/>
<p style="text-align: center">
<% if objects.empty? %>
<br/>
<p style="text-align: center">
@@
-25,6
+29,9
@@
<%= controller.model_class.attribute_info[attr.to_sym].andand[:column_heading] or attr.sub /_uuid/, '' %>
</th>
<% end %>
<%= controller.model_class.attribute_info[attr.to_sym].andand[:column_heading] or attr.sub /_uuid/, '' %>
</th>
<% end %>
+ <th>
+ <!-- a column for user's home -->
+ </th>
<th>
<!-- a column for delete buttons -->
</th>
<th>
<!-- a column for delete buttons -->
</th>
@@
-40,9
+47,7
@@
</td>
<% end %>
<td>
</td>
<% end %>
<td>
- <% if (current_user.is_admin and current_user.uuid != object.uuid) or !current_user.is_admin %>
- <%= render :partial => "show_object_button", :locals => {object: object, size: 'xs'} %>
- <% end %>
+ <%= render :partial => "show_object_button", :locals => {object: object, size: 'xs'} %>
</td>
<% object.attributes_for_display.each do |attr, attrvalue| %>
</td>
<% object.attributes_for_display.each do |attr, attrvalue| %>
@@
-55,6
+60,9
@@
<% end %>
</td>
<% end %>
<% end %>
</td>
<% end %>
+ <td>
+ <%= render partial: 'show_home_button', locals: {object:object} %>
+ </td>
<td>
<%= render partial: 'delete_object_button', locals: {object:object} %>
</td>
<td>
<%= render partial: 'delete_object_button', locals: {object:object} %>
</td>