X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/5dd1249f3ec74643957202977f92e42be78f65d8..53e8fa61ae4275ac3c7c72f658553aea4c40fd13:/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 e8a15f386c..15b2f12636 100644 --- a/apps/workbench/app/views/application/show.html.erb +++ b/apps/workbench/app/views/application/show.html.erb @@ -1,25 +1,6 @@ -<% if @object.respond_to? :properties %> +<%# Copyright (C) The Arvados Authors. All rights reserved. -<% content_for :page_title do %> -<%= @object.properties[:page_title] || @object.friendly_link_name %> -<% end %> +SPDX-License-Identifier: AGPL-3.0 %> -<% 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 %> -<% end %> - - -<%= render :partial => 'application/arvados_object' %> +<%= render partial: 'title_and_buttons' %> +<%= render partial: 'content', layout: 'content_layout', locals: {pane_list: controller.show_pane_list }%>