X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/dffa580d39b977746f6950b835b78b949a862c9d..00573cf7d28472bf926e8f610a256cd991879c8b:/apps/workbench/app/views/collections/show_file_links.html.erb diff --git a/apps/workbench/app/views/collections/show_file_links.html.erb b/apps/workbench/app/views/collections/show_file_links.html.erb index 9d61a6a2d9..a829d8f274 100644 --- a/apps/workbench/app/views/collections/show_file_links.html.erb +++ b/apps/workbench/app/views/collections/show_file_links.html.erb @@ -1,36 +1,82 @@ +<% coll_name = "Collection #{@object.uuid}" %> +<% link_opts = {controller: 'collections', action: 'show_file', + uuid: @object.uuid, reader_token: params[:reader_token]} %> - <% if content_for? :page_title %> - <%= yield :page_title %> / <%= Rails.configuration.site_name %> - <% else %> - <%= Rails.configuration.site_name %> - <% end %> + <%= coll_name %> / <%= Rails.configuration.site_name %> + -<% content_for :page_title do %> - <%= (@object.respond_to?(:properties) ? @object.properties[:page_title] : nil) || - @object.friendly_link_name %> -<% end %> -<% if @object.andand.files.andand.any? %> - <% link_opts = {controller: 'collections', action: 'show_file', - uuid: @object.uuid, reader_token: params[:reader_token]} %> - " }.join("")) %> <% else %>

No files in this collection.

<% end %> + + +