3235: Merge branch 'master' into 3235-top-nav-site-search
[arvados.git] / apps / workbench / app / views / layouts / application.html.erb
index d0b27c375823cfdf3d7142c1124075a279f3e523..bd6a6aae4097cad0dadbe6004d2488c1e993a7b5 100644 (file)
           </li>
           -->
 
+          <li>
+            <%= link_to(url_for(
+                       action: 'choose',
+                       controller: 'search',
+                       title: 'Search',
+                       action_name: 'Show',
+                       action_href: url_for(controller: :actions, action: :show),
+                       action_method: 'get',
+                       action_data: {selection_param: 'uuid', success: 'redirect-to-created-object'}.to_json),
+                      { class: "", remote: true, method: 'get' }) do %>
+              <i class="fa fa-fw fa-search"></i> Search
+            <% end %>
+          </li>
+
           <li class="dropdown notification-menu">
             <a href="#" class="dropdown-toggle" data-toggle="dropdown" id="notifications-menu">
               <span class="badge badge-alert notification-count"><%= @notification_count %></span>