projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '21815-trigrams-exclude-ids'
[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 670b84b7c11dd874b1eaaf976cffe3b495633fab..920906d83367878473ac1a60ae250ccd8f442ae5 100644
(file)
--- a/
services/api/app/views/admin_notifier/new_user.text.erb
+++ b/
services/api/app/views/admin_notifier/new_user.text.erb
@@
-2,22
+2,16
@@
SPDX-License-Identifier: AGPL-3.0 %>
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%>:
+A new user has been created and set up.
- <%= @user.full_name %> <<%= @user.email %>>
+ <%= @user.full_name %> <<%= @user.email %>>
(<%= @user.username %>)
-Th
is user is <%= @user.is_active ? '' : 'NOT ' %>active
.
+Th
ey are able to use Arvados
.
<% if Rails.configuration.Services.Workbench1.ExternalURL -%>
<% if Rails.configuration.Services.Workbench1.ExternalURL -%>
-Please see
w
orkbench for more information:
+Please see
W
orkbench for more information:
- <%=
Rails.configuration.Services.Workbench1.ExternalURL
%>
+ <%=
URI::join(Rails.configuration.Services.Workbench1.ExternalURL, "user/#{@user.uuid}")
%>
<% end -%>
Thanks,
<% end -%>
Thanks,