projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '20840-api-deprecate-notice' refs #20840
[arvados.git]
/
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 8858a621bfb71d9f67bd2a687fbcc140818a4abb..670b84b7c11dd874b1eaaf976cffe3b495633fab 100644
(file)
--- 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.
<%= @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.
Thanks,
Your friendly Arvados robot.
-