projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '8784-dir-listings'
[arvados.git]
/
apps
/
workbench
/
app
/
views
/
projects
/
_show_contents_rows.html.erb
diff --git
a/apps/workbench/app/views/projects/_show_contents_rows.html.erb
b/apps/workbench/app/views/projects/_show_contents_rows.html.erb
index a6a371275b35b54782c5e647eb611efd887090f7..d440c4670c831c9c17d29738cb68195d28719891 100644
(file)
--- a/
apps/workbench/app/views/projects/_show_contents_rows.html.erb
+++ b/
apps/workbench/app/views/projects/_show_contents_rows.html.erb
@@
-1,3
+1,7
@@
+<%# Copyright (C) The Arvados Authors. All rights reserved.
+
+SPDX-License-Identifier: AGPL-3.0 %>
+
<% get_objects_and_names.each do |object, name_link| %>
<% name_object = (object.respond_to?(:name) || !name_link) ? object : name_link %>
<tr class="filterable"
<% get_objects_and_names.each do |object, name_link| %>
<% name_object = (object.respond_to?(:name) || !name_link) ? object : name_link %>
<tr class="filterable"
@@
-26,7
+30,9
@@
</td>
<td>
</td>
<td>
- <%= render_editable_attribute (name_link || object), 'name', nil, {tiptitle: 'rename'} %>
+ <% if object.respond_to?(:name) %>
+ <%= render_editable_attribute (name_link || object), 'name', nil, {}, {tiptitle: 'rename'} %>
+ <% end %>
</td>
<td class="arv-description-in-table">
</td>
<td class="arv-description-in-table">