X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/668a799436295a17223096392898cf257d8dfc76..8f8a266743b7f0b729cf0178e2613fff7d0a9f80:/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 5df02c7ee3..9da55cbeb3 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' %> @@ -199,7 +199,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 +264,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")%>