X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/8853b3602fbea1ab16cd82de1c25a944f261d546..8184edf9fe02a430e9f6ca175390dcfbc3e2c4d3:/apps/workbench/app/views/application/_index.html.erb diff --git a/apps/workbench/app/views/application/_index.html.erb b/apps/workbench/app/views/application/_index.html.erb index 888bcee74c..f79555f8bd 100644 --- a/apps/workbench/app/views/application/_index.html.erb +++ b/apps/workbench/app/views/application/_index.html.erb @@ -6,13 +6,13 @@ <% else %> -<% attr_blacklist = 'created_at modified_at modified_by_user_uuid modified_by_client_uuid updated_at' %> +<% attr_blacklist = ' created_at modified_at modified_by_user_uuid modified_by_client_uuid updated_at' %> <% @objects.first.attributes_for_display.each do |attr, attrvalue| %> - <% next if attr_blacklist.index attr %> + <% next if attr_blacklist.index(" "+attr) %> @@ -24,7 +24,7 @@ <% @objects.each do |object| %> <% object.attributes_for_display.each do |attr, attrvalue| %> - <% next if attr_blacklist.index attr %> + <% next if attr_blacklist.index(" "+attr) %>
<%= controller.model_class.attribute_info[attr.to_sym].andand[:column_heading] or attr.sub /_uuid/, '' %>
<% if attr == 'uuid' %> <%= link_to_if_arvados_object object %>