X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c66afecd36cf7d91223b5db79f3e120954f8217d..d07841a4b10d5677a6e4f80df1ba4f1a8bd13be9:/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 aabd0217ef..c36f27ccc7 100644
--- a/apps/workbench/app/views/application/_show_recent.html.erb
+++ b/apps/workbench/app/views/application/_show_recent.html.erb
@@ -1,4 +1,4 @@
-<% if @objects.empty? %>
+<% if objects.empty? %>
No <%= controller.controller_name.humanize.downcase %> to display.
@@ -6,9 +6,9 @@
<% 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 owner_uuid group_class' %>
-<%= render partial: "paging", locals: {results: @objects, object: @object} %>
+<%= render partial: "paging", locals: {results: objects, object: @object} %>
<%= form_tag do |f| %>
@@ -16,7 +16,8 @@
- <% @objects.first.attributes_for_display.each do |attr, attrvalue| %>
+
+ <% objects.first.attributes_for_display.each do |attr, attrvalue| %>
<% next if attr_blacklist.index(" "+attr) %>
<%= controller.model_class.attribute_info[attr.to_sym].andand[:column_heading] or attr.sub /_uuid/, '' %>
@@ -29,18 +30,20 @@