X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/d047c1cb9ceecb6e324adf102e5e38e11fe698e1..2cf4ea4fe0e1eda66d510983bf27fb9836af5ff4:/apps/workbench/app/views/layouts/body.html.erb?ds=sidebyside diff --git a/apps/workbench/app/views/layouts/body.html.erb b/apps/workbench/app/views/layouts/body.html.erb index 15f654596c..b2cd097f31 100644 --- a/apps/workbench/app/views/layouts/body.html.erb +++ b/apps/workbench/app/views/layouts/body.html.erb @@ -34,7 +34,7 @@ SPDX-License-Identifier: AGPL-3.0 %> <%= target = Rails.configuration.multi_site_search if target == true - target = {controller: 'collections', action: 'multisite'} + target = {controller: 'search', action: 'index'} end link_to("Multi-site search", target, {class: 'btn btn-default'}) %> @@ -72,20 +72,46 @@ SPDX-License-Identifier: AGPL-3.0 %> <% if current_user.is_active %>
  • Home project
  • - + <% if Rails.configuration.composer_url %> +
  • +
    + + +
    +
  • + <% end %> + <% if Rails.configuration.workbench2_url %> +
  • + <% + wb2_url = Rails.configuration.workbench2_url + wb2_url += '/' if wb2_url[-1] != '/' + wb2_url += 'token' + %> +
    + + +
    +
  • + <% end %>
  • <%= link_to virtual_machines_user_path(current_user), role: 'menu-item' do %> Virtual machines <% end %>
  • + <% if Rails.configuration.repositories %>
  • Repositories
  • + <% end -%>
  • Current token
  • <%= link_to ssh_keys_user_path(current_user), role: 'menu-item' do %> SSH keys <% end %> -
  • - + +
  • Link account
  • <% if Rails.configuration.user_profile_form_fields %>
  • Manage profile
  • <% end %> @@ -112,9 +138,11 @@ SPDX-License-Identifier: AGPL-3.0 %> + <% if Rails.configuration.repositories %>
  • Repositories
  • + <% end -%>
  • Virtual machines