1 <nav class="navbar navbar-default breadcrumbs" role="navigation">
2 <ul class="nav navbar-nav navbar-left">
5 <i class="fa fa-lg fa-fw fa-dashboard"></i>
10 <a href="#" class="dropdown-toggle" data-toggle="dropdown" id="projects-menu">
12 <span class="caret"></span>
14 <ul class="dropdown-menu" style="min-width: 20em" role="menu">
20 filters: [['uuid', 'is_a', 'arvados#group']].to_json,
23 action_href: url_for(controller: :actions, action: :show),
25 action_data: {selection_param: 'uuid', success: 'redirect-to-created-object'}.to_json),
26 { remote: true, method: 'get', title: "Search" }) do %>
27 <i class="glyphicon fa-fw glyphicon-search"></i> Search all projects ...
30 <% if Rails.configuration.anonymous_user_token and Rails.configuration.enable_public_projects_page %>
31 <li role="menuitem"><a href="/projects/public" role="menuitem"><i class="fa fa-fw fa-list"></i> Browse public projects </a>
35 <%= link_to projects_path(options: {ensure_unique_name: true}), role: 'menu-item', method: :post do %>
36 <i class="fa fa-fw fa-plus"></i> Add a new project
39 <li role="presentation" class="divider"></li>
40 <%= render partial: "projects_tree_menu", locals: {
41 :project_link_to => Proc.new do |pnode, &block|
42 link_to(project_path(pnode[:object].uuid),
43 data: { 'object-uuid' => pnode[:object].uuid,
50 <% if @name_link or @object %>
51 <li class="nav-separator">
52 <i class="fa fa-lg fa-angle-double-right"></i>
55 <%= link_to project_path(current_user.uuid) do %>
59 <% project_breadcrumbs.each do |p| %>
60 <li class="nav-separator">
61 <i class="fa fa-lg fa-angle-double-right"></i>
64 <%= link_to(p.name, project_path(p.uuid), data: {object_uuid: p.uuid, name: 'name'}) %>