X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/aa58b06d72a858fd63e091622a5bd8b3a9287e72..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 374e46efac..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,16 +1,21 @@ +<%# Copyright (C) The Arvados Authors. All rights reserved. -A new user has been created: +SPDX-License-Identifier: AGPL-3.0 %> + +<% + add_to_message = @user.is_invited ? ' and setup' : ', but not setup' +%> +A new user has been created<%=add_to_message%>: <%= @user.full_name %> <<%= @user.email %>> This user is <%= @user.is_active ? '' : 'NOT ' %>active. -<% if not @wb_address.empty? -%> -Please see workbench for more information: +<% if Rails.configuration.Services.Workbench1.ExternalURL -%> +Please see Workbench for more information: - <%= @wb_address %> + <%= Rails.configuration.Services.Workbench1.ExternalURL %>user/<%=@user.uuid%> <% end -%> Thanks, Your friendly Arvados robot. -