From ba453de5bf87f21f3cd21ac2bd5e3cf7777c4d50 Mon Sep 17 00:00:00 2001 From: Andre Bernardes Date: Tue, 22 Jul 2014 10:22:44 -0300 Subject: [PATCH] Fixed welcome message when the feature is on. --- app/views/account/signup.html.erb | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/app/views/account/signup.html.erb b/app/views/account/signup.html.erb index ad67521..595d5f3 100644 --- a/app/views/account/signup.html.erb +++ b/app/views/account/signup.html.erb @@ -3,19 +3,18 @@ <% if environment.has_custom_welcome_screen? %> <%= environment.settings[:signup_welcome_screen_body].html_safe %> <% elsif environment.enabled?('admin_must_approve_new_users')%> -

<%= _("The environment %s has a registration moderated policy!") % environment.name %>

-

<%= _("Your registration was sent to the environment administrator!") %>

-

<%= _("Once your registration is accepted you can start doing the cool stuffs bellow!") %>

+

<%= _("Welcome to %s!") % environment.name %>

+

<%= _("Thanks for signing up, we're thrilled to have you on our social network!") %>

<%= _("Firstly, some tips for getting started:") %>

<%= _("Confirm your account!") %>

<%= _("You should receive a welcome email from us shortly. Please take a second to follow the link within to confirm your account.") %>

-

<%= _("You won't appear as %s until your account is confirmed.") % link_to(_('user'), {:controller => :search, :action => :people, :filter => 'more_recent'}, :target => '_blank') %>

+

<%= _("After your confirmation the administrators will be able to approve your signup request.") %>

+

<%= _("You won't appear as %s until your account is confirmed and approved.") % link_to(_('user'), {:controller => :search, :action => :people, :filter => 'more_recent'}, :target => '_blank') %>

<%= _("What to do next?") %>

<%= _("%s. Upload an avatar and let your friends find you easily :)") % link_to(_('Customize your profile'), {:controller => 'doc', :section => 'user', :topic => 'editing-person-info'}, :target => '_blank') %>

<%= _("Learn the guidelines. Read the %s for more details on how to use this social network!") % link_to(_('Documentation'), {:controller => 'doc'}, :target => '_blank') %>

<%= _("%s your Gmail, Yahoo and Hotmail contacts!") % link_to(_('Invite and find'), {:controller => 'doc', :section => 'user', :topic => 'invite-contacts'}, :target => '_blank') %>

<%= _("Start exploring and have fun!") %>

-

<%= _("If by any chance your registration wasn't successful and you should be registred, send an email for the administrator!")%>

<% else %>

<%= _("Welcome to %s!") % environment.name %>

<%= _("Thanks for signing up, we're thrilled to have you on our social network!") %>

-- libgit2 0.21.2