X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4bc4165ea8acbcfb2c1a19e0793a52c48d04cc59..1c6464fc1b6e3cde61b64fc07308a3934966fe74:/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 348d9d982a..15b2f12636 100644 --- a/apps/workbench/app/views/application/show.html.erb +++ b/apps/workbench/app/views/application/show.html.erb @@ -1,39 +1,6 @@ -<% content_for :page_title do %> -<%= (@object.respond_to?(:properties) ? @object.properties[:page_title] : nil) || - @object.friendly_link_name %> -<% end %> +<%# Copyright (C) The Arvados Authors. All rights reserved. -<% 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) %> -

+SPDX-License-Identifier: AGPL-3.0 %> -<% 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 %> - -<% pane_list = controller.show_pane_list rescue %w(attributes) %> - -
- - -
- <% pane_list.each_with_index do |pane, i| %> -
- <%= render partial: 'show_' + pane %> -
- <% end %> -
+<%= render partial: 'title_and_buttons' %> +<%= render partial: 'content', layout: 'content_layout', locals: {pane_list: controller.show_pane_list }%>