X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c99ba4cdc8f6ff0be1847ffe4ec6f791f6b83396..99ce6a94ab4b6df30f727c6d07039aa55c2bad32:/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 0697fefec5..9b1b002c7d 100644 --- a/apps/workbench/app/views/application/show.html.erb +++ b/apps/workbench/app/views/application/show.html.erb @@ -1,32 +1,2 @@ -<% content_for :page_title do %> - <%= (@object.respond_to?(:properties) and !@object.properties.nil? ? @object.properties[:page_title] : nil) || - @name_link.andand.name || - @object.friendly_link_name %> -<% end %> - -<% content_for :content_top do %> - <% if !['Group','User', 'Collection'].include? @object.class.to_s # projects and collections handle it themselves %> - <%= render partial: 'name_and_description' %> - <% end %> - -<% if @object.respond_to? :properties and !@object.properties.nil? %> - <% if @object.properties[:page_content] %> - <% content_for :page_content do %> -

- <%= render_markup(@object.properties[:page_title] || @object.uuid) %> -

- - <% if @object.properties[:page_subtitle] %> -

- <%= render_markup @object.properties[:page_subtitle] %> -

- <% end %> - - <%= render_markup @object.properties[:page_content] %> - <% end %> - <% end %> -<% end %> - -<% end %> - +<%= render partial: 'title_and_buttons' %> <%= render partial: 'content', layout: 'content_layout', locals: {pane_list: controller.show_pane_list }%>