Merge branch '21666-provision-test-improvement'
[arvados.git] / services / api / app / views / user_notifier / account_is_setup.text.erb
index 5d8c9e7d25fa3c0b5896b5de92a7b004cdcd76a3..3f04db8517fb216727a632a3af03e770b3bc4146 100644 (file)
@@ -1,13 +1,5 @@
-<% if not @user.full_name.empty? -%>
-<%= @user.full_name %>,
-<% else -%>
-Hi there,
-<% end -%>
+<%# Copyright (C) The Arvados Authors. All rights reserved.
 
-Your Arvados account has been set up. You can log in with your Google account
-associated with the e-mail address <%= @user.email %><% if Rails.configuration.workbench_address %> at:
+SPDX-License-Identifier: AGPL-3.0 %>
 
-  <%= Rails.configuration.workbench_address %><% else %>.<% end %>
-
-Thanks,
-The Arvados team.
+<%= ERB.new(Rails.configuration.Users.UserSetupMailText, trim_mode: "-").result(binding) %>