X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/e5d1f2f918be2c6a59ac4085276342cc4533fe2a..274ca7a6c2f1f600de4242eee6cb4e8465d4440c:/apps/workbench/app/views/application/show.html.erb diff --git a/apps/workbench/app/views/application/show.html.erb b/apps/workbench/app/views/application/show.html.erb index d2abd72b87..0697fefec5 100644 --- a/apps/workbench/app/views/application/show.html.erb +++ b/apps/workbench/app/views/application/show.html.erb @@ -1,39 +1,32 @@ <% content_for :page_title do %> -<%= (@object.respond_to?(:properties) ? @object.properties[:page_title] : nil) || - @object.friendly_link_name %> + <%= (@object.respond_to?(:properties) and !@object.properties.nil? ? @object.properties[:page_title] : nil) || + @name_link.andand.name || + @object.friendly_link_name %> <% end %> -<% if @object.respond_to? :properties %> -<% if @object.properties[:page_content] %> -<% content_for :page_content do %> -