X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/d6b05255cc0a7732408360c8b989d306e329346d..03bee5d2ecc62b0fe7aaae67e8d5fffcdeeb4880:/apps/workbench/app/views/layouts/application.html.erb?ds=sidebyside
diff --git a/apps/workbench/app/views/layouts/application.html.erb b/apps/workbench/app/views/layouts/application.html.erb
index c295dc3660..68f0e109bd 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 %>
@@ -22,95 +22,215 @@
<%= yield :js %>
<% end %>
-
-
-
<%= Rails.configuration.site_name rescue Rails.application.class.parent_name %>
+
+
+
+
+
+
+ <% if current_user %>
+ <% if content_for?(:breadcrumbs) %>
+ <%= yield(:breadcrumbs) %>
+ <% else %>
+
+ -
+ <%= link_to(
+ controller.model_class.to_s.pluralize.underscore.gsub('_', ' '),
+ url_for({controller: params[:controller]})) %>
+
+ <% if params[:action] != 'index' %>
+ -
+
+
+ -
+ <%= link_to controller.breadcrumb_page_name, request.fullpath %>
+
+ -
+ <%= form_tag do |f| %>
+ <%= render :partial => "selection_checkbox", :locals => {:object => @object} %>
+ <% end %>
+
+ <% end %>
+ <% end %>
+ <% end %>
+
+
+
-
- <% if current_user -%>
- - <%= current_user.email %>
- - Log out
+ -
+
+
+
+ <% if current_user %>
+
+
+
+
+ <% if current_user.is_active %>
+
+ <% end %>
+
+ -
+
+
+
+
+
<% else -%>
- Log in
<% end -%>
+
+
+
- <% if current_user.andand.is_active %>
-
-
-
- <%= yield %>
-
-
-
<%= piwik_tracking_tag %>
+ <%= javascript_tag do %>
+ <%= yield :footer_js %>
+ <% end %>
+