21059: Remote user status WIP
[arvados.git] / services / api / app / views / admin_notifier / new_user.text.erb
index a96dfdba9868bbcce7bf0ed1498524a4fc116eb7..75d2a28ce8d21d142b67739adbea61696da4d6b3 100644 (file)
@@ -3,10 +3,7 @@
 SPDX-License-Identifier: AGPL-3.0 %>
 
 <%
-  add_to_message = ''
-  if Rails.configuration.Users["AutoSetupNewUsers"]
     add_to_message = @user.is_invited ? ' and setup' : ', but not setup'
-  end
 %>
 A new user has been created<%=add_to_message%>:
 
@@ -14,10 +11,10 @@ A new user has been created<%=add_to_message%>:
 
 This user is <%= @user.is_active ? '' : 'NOT ' %>active.
 
-<% if Rails.configuration.Services["Workbench1"]["ExternalURL"] -%>
-Please see workbench for more information:
+<% if Rails.configuration.Services.Workbench1.ExternalURL -%>
+Please see Workbench for more information:
 
-  <%= Rails.configuration.Services["Workbench1"]["ExternalURL"] %>
+  <%= Rails.configuration.Services.Workbench1.ExternalURL %>user/<%=@user.uuid%>
 
 <% end -%>
 Thanks,