From 45741702d88801640ca6c59269edb610dc2b6071 Mon Sep 17 00:00:00 2001 From: Peter Amstutz Date: Tue, 4 Mar 2014 21:57:40 -0500 Subject: [PATCH] Fixed default inactive user page. --- .../app/views/users/_tables.html.erb | 25 ++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/apps/workbench/app/views/users/_tables.html.erb b/apps/workbench/app/views/users/_tables.html.erb index 09ca3ce1ba..320f32c571 100644 --- a/apps/workbench/app/views/users/_tables.html.erb +++ b/apps/workbench/app/views/users/_tables.html.erb @@ -250,7 +250,30 @@ <% else %> - <%= image_tag "dax.png", style: "max-width=40%" %> + +
+
+ <%= image_tag "dax.png", style: "max-width:100%" %> +
+
+

Welcome to Arvados, <%= current_user.first_name %>!

+
+

+ Your account must be activated by an Arvados administrator. If this + is your first time accessing Arvados and would like to request + access, or you believe you are seeing the page in error, please + <%= link_to "contact us", Rails.configuration.activation_contact_link %>. + You should receive an email at the address you used to log in when + your account is activated. In the mean time, you can + <%= link_to "learn more about Arvados", "https://arvados.org/projects/arvados/wiki/Introduction_to_Arvados" %>, + and <%= link_to "read the Arvados user guide", "http://doc.arvados.org/user" %>. +

+

+ <%= link_to raw('Contact us ✉'), + Rails.configuration.activation_contact_link, class: "pull-right btn btn-primary" %>

+
+
+
<% end %> <% content_for :js do %> -- 2.30.2