X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/cda441b1b6e50811c7dbd8d5c61ead1b39c91857..f4ca9ad94a6bb006d1f3c7ba207837f1736d1247:/services/api/app/views/admin_notifier/new_user.text.erb?ds=sidebyside 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 374e46efac..88ecbe3546 100644 --- 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. -<% if not @wb_address.empty? -%> +<% if Rails.configuration.workbench_address -%> Please see workbench for more information: - <%= @wb_address %> + <%= Rails.configuration.workbench_address %> <% end -%> Thanks,