X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/2face69c76f5aa42b2204bf89d5194e83fca23c8..6232434d6b86192b0531bacd7e4f0d5ae589f368:/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 6b8a3523d0..63cf67c263 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,100 +22,218 @@
<%= yield :js %>
<% end %>
-
-
-
<%= Rails.configuration.site_name rescue Rails.application.class.parent_name %>
+
+
+
-
- <% if current_user -%>
- - <%= current_user.email %>
- - Log out
+
+
+ <% 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 %>
+
+
+
+
+ <% if current_user.is_active %>
+
+ <% end %>
+
+ -
+
+
+
<% else -%>
- Log in
<% end -%>
+
+
+
- <% if current_user.andand.is_active %>
-
- -
-
- Access
-
-
-
- -
-
- Compute
-
-
+
+
+
+
+ <% if current_user.andand.is_active %>
+
+
+
+ <% end %>
+
+
-
-
- <%= yield %>
-
-
-
<%= piwik_tracking_tag %>
<%= javascript_tag do %>
<%= yield :footer_js %>
<% end %>
+