X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/437725d13f8775b29ad3e279a07b0bd4b7f8d098..7baff32e82b0bfc961dc9a285da8ce187d4fe0b6:/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 1df9fd6464..20a36afcbf 100644 --- a/services/api/app/views/admin_notifier/new_user.text.erb +++ b/services/api/app/views/admin_notifier/new_user.text.erb @@ -1,6 +1,10 @@ +<%# Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: AGPL-3.0 %> + <% add_to_message = '' - if Rails.configuration.auto_setup_new_users + if Rails.configuration.Users["AutoSetupNewUsers"] add_to_message = @user.is_invited ? ' and setup' : ', but not setup' end %> @@ -10,12 +14,11 @@ A new user has been created<%=add_to_message%>: This user is <%= @user.is_active ? '' : 'NOT ' %>active. -<% if not @wb_address.empty? -%> +<% if Rails.configuration.workbench_address -%> Please see workbench for more information: - <%= @wb_address %> + <%= Rails.configuration.workbench_address %> <% end -%> Thanks, Your friendly Arvados robot. -