X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/921e5feb0deff2f1b420e867faf79a4ecd293350..e231fef37079916d0dc6babf93d669d474598ced:/apps/workbench/app/views/layouts/body.html.erb
diff --git a/apps/workbench/app/views/layouts/body.html.erb b/apps/workbench/app/views/layouts/body.html.erb
index f4be7cad63..b2cd097f31 100644
--- a/apps/workbench/app/views/layouts/body.html.erb
+++ b/apps/workbench/app/views/layouts/body.html.erb
@@ -82,18 +82,36 @@ SPDX-License-Identifier: AGPL-3.0 %>
<% 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 %>
@@ -120,9 +138,11 @@ SPDX-License-Identifier: AGPL-3.0 %>
+ <% if Rails.configuration.repositories %>
Repositories
+ <% end -%>
Virtual machines