13996: Fixing test WIP
[arvados.git] / services / api / app / views / user_notifier / account_is_setup.text.erb
index 0f584c74372bd9bcdfda1c2d59dc48cd92d9b5e7..357fd91ce8a87ee9256871e4a93e5454513c6bbb 100644 (file)
@@ -1,6 +1,18 @@
+<%# Copyright (C) The Arvados Authors. All rights reserved.
+
+SPDX-License-Identifier: AGPL-3.0 %>
+
+<% if not @user.full_name.empty? -%>
 <%= @user.full_name %>,
+<% else -%>
+Hi there,
+<% end -%>
+
+Your Arvados shell account has been set up. Please visit the virtual machines page <% if Rails.configuration.Services["Workbench1"]["ExternalURL"] %>at
+
+  <%= Rails.configuration.Services["Workbench1"]["ExternalURL"] %><%= "/" if !Rails.configuration.Services["Workbench1"]["ExternalURL"].to_s.end_with?("/") %>users/<%= @user.uuid%>/virtual_machines <% else %><% end %>
 
-Your Arvados account has been set up. You can log in here using your
-Google account (<%= @user.email %>):
+for connection instructions.
 
-<%= Rails.configuration.workbench_address %>
+Thanks,
+The Arvados team.