projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add 'tools/arvbox/' from commit 'd3d368758db1f4a9fa5b89f77b5ee61d68ef5b72'
[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 374e46efacbe26db58c7dd75af06868d846708d5..88ecbe35460ceb384527f906929cd9f626f13ecf 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,14
+1,19
@@
-
-A new user has been created:
+<%
+ add_to_message = ''
+ if Rails.configuration.auto_setup_new_users
+ 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
not @wb_address.empty?
-%>
+<% if
Rails.configuration.workbench_address
-%>
Please see workbench for more information:
Please see workbench for more information:
- <%=
@wb
_address %>
+ <%=
Rails.configuration.workbench
_address %>
<% end -%>
Thanks,
<% end -%>
Thanks,