X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/63f9b5374e01394486a07dba4f9a43cfd76707e3..87ea4388edb977d246b09b78d9d4bfa5c2ba5170:/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 0d7657f512..4c7896f728 100644 --- a/apps/workbench/app/views/application/index.html.erb +++ b/apps/workbench/app/views/application/index.html.erb @@ -1,50 +1,13 @@ -<% if @objects.empty? %> - -
- No <%= controller.model_class.to_s.underscore.pluralize.gsub '_', ' ' %> to display. -
- -<% else %> - -<% attr_blacklist = 'created_at modified_at modified_by_user modified_by_client updated_at' %> +<% content_for :page_title do %> +<%= controller.controller_name.humanize.capitalize %> +<% end %> -- <%= attr.sub /_uuid/, '' %> - | - <% end %> -
---|
- <% if attr == 'uuid' %> - <%= link_to_if_arvados_object object %> - <% elsif object.attribute_editable? attr %> - <%= render_editable_attribute object, attr %> - <% else %> - <%= link_to_if_arvados_object attrvalue, {referring_attr: attr, referring_object: @object, with_prefixes: true, with_class_name: true} %> - <% end %> - | - <% end %> -