X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/668a799436295a17223096392898cf257d8dfc76..2e03d03bc55b5a612c2bf04d878a72f2ee420d99:/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 5df02c7ee3..ed19d51d25 100644 --- a/apps/workbench/app/views/layouts/body.html.erb +++ b/apps/workbench/app/views/layouts/body.html.erb @@ -72,9 +72,9 @@ SPDX-License-Identifier: AGPL-3.0 %> <% if current_user.is_active %>
  • Home project
  • - <% if Rails.configuration.Services.Composer.ExternalURL %> + <% if Rails.configuration.Services.Composer.ExternalURL != URI("") %>
  • -
    +
  • <% end %> - <% if Rails.configuration.Services.Workbench2.ExternalURL %> + <% if Rails.configuration.Services.Workbench2.ExternalURL != URI("") %>
  • <% - wb2_url = Rails.configuration.Workbench2.ExternalURL + wb2_url = Rails.configuration.Services.Workbench2.ExternalURL.to_s wb2_url += '/' if wb2_url[-1] != '/' wb2_url += 'token' %> @@ -161,15 +161,9 @@ SPDX-License-Identifier: AGPL-3.0 %>
  • Groups
  • -
  • - Compute nodes -
  • Keep services
  • -
  • - Keep disks -
  • <% end %> @@ -199,7 +193,7 @@ SPDX-License-Identifier: AGPL-3.0 %> - <% if Rails.configuration.EnableGettingStartedPopup %> + <% if Rails.configuration.Workbench.EnableGettingStartedPopup %>
  • <%= link_to raw(' Getting Started ...'), "#", {'data-toggle' => "modal", 'data-target' => '#getting-started-modal-window'} %> @@ -264,7 +258,7 @@ SPDX-License-Identifier: AGPL-3.0 %>
    -<% if Rails.configuration.EnableGettingStartedPopup and current_user and !current_user.prefs[:getting_started_shown] and +<% if Rails.configuration.Workbench.EnableGettingStartedPopup and current_user and !current_user.prefs[:getting_started_shown] and !request.url.include?("/profile") and !request.url.include?("/user_agreements") and !request.url.include?("/inactive")%>