Merge branch '8400-additional-gitignore' of https://github.com/wtsi-hgi/arvados close...
[arvados.git] / services / api / app / views / user_notifier / account_is_setup.text.erb
index 0f584c74372bd9bcdfda1c2d59dc48cd92d9b5e7..2500bf13c20deeed19c30207e51eeef2c04cb0a4 100644 (file)
@@ -1,6 +1,14 @@
+<% if not @user.full_name.empty? -%>
 <%= @user.full_name %>,
+<% else -%>
+Hi there,
+<% end -%>
 
-Your Arvados account has been set up. You can log in here using your
-Google account (<%= @user.email %>):
+Your Arvados shell account has been set up. Please visit the virtual machines page <% if Rails.configuration.workbench_address %>at
 
-<%= Rails.configuration.workbench_address %>
+  <%= Rails.configuration.workbench_address %><%= "/" if !Rails.configuration.workbench_address.end_with?("/") %>users/<%= @user.uuid%>/virtual_machines <% else %><% end %>
+
+for connection instructions.
+
+Thanks,
+The Arvados team.