X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/ab3f9742f002e3af4339c17eede2b6ee99df83b2..744ca00ccd1e7fda9d4210b18c1f4a734f3b2261:/apps/workbench/app/views/layouts/application.html.erb
diff --git a/apps/workbench/app/views/layouts/application.html.erb b/apps/workbench/app/views/layouts/application.html.erb
index 921588a14b..a5460c295f 100644
--- a/apps/workbench/app/views/layouts/application.html.erb
+++ b/apps/workbench/app/views/layouts/application.html.erb
@@ -4,7 +4,7 @@
<% if content_for? :page_title %>
- <%= yield :page_title %>
+ <%= yield :page_title %> / <%= Rails.configuration.site_name %>
<% else %>
<%= Rails.configuration.site_name %>
<% end %>
@@ -14,6 +14,7 @@
+
<%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
@@ -22,90 +23,237 @@
<%= yield :js %>
<% end %>
+
-
-
-
-
+ <% end %>
+
+
+ <% if current_user %>
+ <% if content_for?(:breadcrumbs) %>
+ <%= yield(:breadcrumbs) %>
+ <% else %>
+
+ -
+ <%= link_to(
+ controller.controller_name.humanize.downcase,
+ url_for({controller: params[:controller]})) %>
+
+ <% if params[:action] != 'index' %>
+ -
+
+
+ -
+ <%= link_to_if_arvados_object @object, {friendly_name: true}, {data: {object_uuid: @object.andand.uuid, name: 'name'}} %>
+
+ -
+ <%= form_tag do |f| %>
+ <%= render :partial => "selection_checkbox", :locals => {:object => @object} %>
+ <% end %>
+
+ <% end %>
+ <% end %>
+ <% end %>
+
+
+
+
+
+
+
+ <%= yield %>
+
+
+
+
+ <%= yield :footer_html %>
<%= piwik_tracking_tag %>
+ <%= javascript_tag do %>
+ <%= yield :footer_js %>
+ <% end %>
+