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 1df9fd64642c192f77cb435c3d559d799244e328..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,6
+1,10
@@
+<%# Copyright (C) The Arvados Authors. All rights reserved.
+
+SPDX-License-Identifier: AGPL-3.0 %>
+
<%
add_to_message = ''
<%
add_to_message = ''
- if Rails.configuration.
auto_setup_new_u
sers
+ if Rails.configuration.
Users.AutoSetupNewU
sers
add_to_message = @user.is_invited ? ' and setup' : ', but not setup'
end
%>
add_to_message = @user.is_invited ? ' and setup' : ', but not setup'
end
%>
@@
-10,12
+14,11
@@
A new user has been created<%=add_to_message%>:
This user is <%= @user.is_active ? '' : 'NOT ' %>active.
This user is <%= @user.is_active ? '' : 'NOT ' %>active.
-<% if
not @wb_address.empty?
-%>
+<% if
Rails.configuration.Services.Workbench1.ExternalURL
-%>
Please see workbench for more information:
Please see workbench for more information:
- <%=
@wb_address
%>
+ <%=
Rails.configuration.Services.Workbench1.ExternalURL
%>
<% end -%>
Thanks,
Your friendly Arvados robot.
<% end -%>
Thanks,
Your friendly Arvados robot.
-