projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
21059: Remote user status WIP
[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 9fc8f11caa030556c83b1e6a48d38f4b1542afb9..75d2a28ce8d21d142b67739adbea61696da4d6b3 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,15
+1,21
@@
-A new user has been created<%=' and setup' if Rails.configuration.auto_setup_new_users %>:
+<%# Copyright (C) The Arvados Authors. All rights reserved.
+
+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.
<%= @user.full_name %> <<%= @user.email %>>
This user is <%= @user.is_active ? '' : 'NOT ' %>active.
-<% if
not @wb_address.empty?
-%>
-Please see
w
orkbench for more information:
+<% if
Rails.configuration.Services.Workbench1.ExternalURL
-%>
+Please see
W
orkbench for more information:
- <%=
@wb_address
%>
+ <%=
Rails.configuration.Services.Workbench1.ExternalURL %>user/<%=@user.uuid
%>
<% end -%>
Thanks,
Your friendly Arvados robot.
<% end -%>
Thanks,
Your friendly Arvados robot.
-