X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/195b23ed7fd0c6261d0a945a9f0e541d78a0648e..fba452e1092543f9bbc1fd6b2c87ae9288134b15:/services/api/app/views/admin_notifier/new_user.text.erb diff --git a/services/api/app/views/admin_notifier/new_user.text.erb b/services/api/app/views/admin_notifier/new_user.text.erb index 88ecbe3546..75d2a28ce8 100644 --- a/services/api/app/views/admin_notifier/new_user.text.erb +++ b/services/api/app/views/admin_notifier/new_user.text.erb @@ -1,8 +1,9 @@ +<%# Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: AGPL-3.0 %> + <% - add_to_message = '' - if Rails.configuration.auto_setup_new_users add_to_message = @user.is_invited ? ' and setup' : ', but not setup' - end %> A new user has been created<%=add_to_message%>: @@ -10,12 +11,11 @@ A new user has been created<%=add_to_message%>: This user is <%= @user.is_active ? '' : 'NOT ' %>active. -<% if Rails.configuration.workbench_address -%> -Please see workbench for more information: +<% if Rails.configuration.Services.Workbench1.ExternalURL -%> +Please see Workbench for more information: - <%= Rails.configuration.workbench_address %> + <%= Rails.configuration.Services.Workbench1.ExternalURL %>user/<%=@user.uuid%> <% end -%> Thanks, Your friendly Arvados robot. -