X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/d36525cf0f67b35e9f59a3481a3739f9ebffae29..HEAD:/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..920906d833 100644 --- a/services/api/app/views/admin_notifier/new_user.text.erb +++ b/services/api/app/views/admin_notifier/new_user.text.erb @@ -1,21 +1,18 @@ -<% - 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%>: +<%# Copyright (C) The Arvados Authors. All rights reserved. - <%= @user.full_name %> <<%= @user.email %>> +SPDX-License-Identifier: AGPL-3.0 %> -This user is <%= @user.is_active ? '' : 'NOT ' %>active. +A new user has been created and set up. -<% if not @wb_address.empty? -%> -Please see workbench for more information: + <%= @user.full_name %> <<%= @user.email %>> (<%= @user.username %>) - <%= @wb_address %> +They are able to use Arvados. + +<% if Rails.configuration.Services.Workbench1.ExternalURL -%> +Please see Workbench for more information: + + <%= URI::join(Rails.configuration.Services.Workbench1.ExternalURL, "user/#{@user.uuid}") %> <% end -%> Thanks, Your friendly Arvados robot. -