[ARVADOS] created: de0f310b710c2a05517e231a8b489301300fed11
git at public.curoverse.com
git at public.curoverse.com
Fri Apr 17 10:59:59 EDT 2015
at de0f310b710c2a05517e231a8b489301300fed11 (commit)
commit de0f310b710c2a05517e231a8b489301300fed11
Author: Radhika Chippada <radhika at curoverse.com>
Date: Fri Apr 17 10:59:27 2015 -0400
5753: show name column in project#show page when the object supports name.
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 a6a3712..c8b2e2e 100644
--- a/apps/workbench/app/views/projects/_show_contents_rows.html.erb
+++ b/apps/workbench/app/views/projects/_show_contents_rows.html.erb
@@ -26,7 +26,9 @@
</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">
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list