X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/97ee2e7bfcdb17fd195382b22a15f0f2752b8007..e7b360fd7acfaa3428b774389baf9626f7ff026c:/apps/workbench/app/views/application/show.html.erb?ds=sidebyside
diff --git a/apps/workbench/app/views/application/show.html.erb b/apps/workbench/app/views/application/show.html.erb
index ad7e53c1fe..105e1c356d 100644
--- a/apps/workbench/app/views/application/show.html.erb
+++ b/apps/workbench/app/views/application/show.html.erb
@@ -1,25 +1,29 @@
-<% if @object.respond_to? :properties %>
-
<% content_for :page_title do %>
-<%= @object.properties[:page_title] || @object.uuid %>
+ <%= (@object.respond_to?(:properties) ? @object.properties[:page_title] : nil) ||
+ @name_link.andand.name ||
+ @object.friendly_link_name %>
<% end %>
-<% if @object.properties[:page_content] %>
-<% content_for :page_content do %>
-
-<%= render_content_from_database(@object.properties[:page_title] || @object.uuid) %>
-
+<% content_for :content_top do %>
-<% if @object.properties[:page_subtitle] %>
-
-<%= render_content_from_database @object.properties[:page_subtitle] %>
-
-<% end %>
+<% if @object.respond_to? :properties %>
+ <% if @object.properties[:page_content] %>
+ <% content_for :page_content do %>
+
+ <%= render_content_from_database(@object.properties[:page_title] || @object.uuid) %>
+
+
+ <% if @object.properties[:page_subtitle] %>
+
+ <%= render_content_from_database @object.properties[:page_subtitle] %>
+
+ <% end %>
-<%= render_content_from_database @object.properties[:page_content] %>
-<% end %>
-<% end %>
+ <%= render_content_from_database @object.properties[:page_content] %>
+ <% end %>
+ <% end %>
<% end %>
+<% end %>
-<%= render :partial => 'application/arvados_object' %>
+<%= render partial: 'content', layout: 'content_layout', locals: {pane_list: controller.show_pane_list }%>