X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/ebb166d65eb37f89edeccfc5be97014f3f2a73e2..fd507a52e72e992a3fd19309de65905341630396:/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 8858a621bf..670b84b7c1 100644 --- a/services/api/app/views/admin_notifier/new_user.text.erb +++ b/services/api/app/views/admin_notifier/new_user.text.erb @@ -1,10 +1,24 @@ +<%# Copyright (C) The Arvados Authors. All rights reserved. -A new user has been created: +SPDX-License-Identifier: AGPL-3.0 %> + +<% + add_to_message = '' + if Rails.configuration.Users.AutoSetupNewUsers + add_to_message = @user.is_invited ? ' and setup' : ', but not setup' + end +%> +A new user has been created<%=add_to_message%>: <%= @user.full_name %> <<%= @user.email %>> This user is <%= @user.is_active ? '' : 'NOT ' %>active. +<% if Rails.configuration.Services.Workbench1.ExternalURL -%> +Please see workbench for more information: + + <%= Rails.configuration.Services.Workbench1.ExternalURL %> + +<% end -%> Thanks, Your friendly Arvados robot. -