diff --git a/app/assets/stylesheets/login.scss b/app/assets/stylesheets/login.scss index e2c35a7c..ee2fa703 100644 --- a/app/assets/stylesheets/login.scss +++ b/app/assets/stylesheets/login.scss @@ -30,6 +30,10 @@ body { color: #eaeaea; text-decoration: underline; } + + .signup-prompt { + text-align: right; + } } diff --git a/app/views/login/login.html.erb b/app/views/login/login.html.erb index dbf8822e..6fa6a929 100644 --- a/app/views/login/login.html.erb +++ b/app/views/login/login.html.erb @@ -29,6 +29,11 @@ <%= submit_tag t("login.sign_in"), class: "btn btn-default" %> <% end %> + <% if SITE_CONFIG['open_signups'] -%> +
+ <%= link_to t('login.signup_prompt'), url_for(:action => 'new', :controller => 'users') %> +
+ <% end -%> diff --git a/config/locales/en.yml b/config/locales/en.yml index 5ef1aa96..624b41a7 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1009,6 +1009,7 @@ en: login: login_cas: go to the CAS sign_in: Sign in + signup_prompt: Want to create an account? openid_identity_url_not_found: "Sorry, no user by that identity URL exists (%{identity_url})" user_no_expiry: Stay logged in cas_no_user_found: "Hello, %{username}! You do not have an account on Tracks."