Commit 3537fb4a72aa8e2790636899e1bdcbd80c4c2a6d

Authored by Daniela Feitosa
1 parent 901438f0

Spliting welcome message on account/signup

Showing 1 changed file with 11 additions and 11 deletions   Show diff stats
app/views/account/signup.rhtml
1 1 <% if @register_pending %>
2 2 <div id='thanks-for-signing'>
3   - <%= _("<h1>Welcome to %s!</h1>
4   - <h3>Thanks for signing up, we're thrilled to have you on our social network!</h3>
5   - <p>Firstly, some tips for getting started:</p>
6   - <h4>Confirm your account!</h4>
7   - <p>You should receive a welcome email from us shortly. Please take a second to follow the link within to confirm your account.</p>
8   - <p>You won't appear as a <a href=\"%s\" target=\"_blank\">user</a> until your account is confirmed.</p>
9   - <h4>What to do next?</h4>
10   - <p><a href=\"/doc/user/editing-person-info\" target=\"_blank\">Customize your profile</a>. Upload an avatar and let your friends find you easily :)</p>
11   - <p>Learn the guidelines. Read the <a href=\"/doc\" target=\"_blank\">Documentation</a> for more details on how to use new social network!</p>
12   - <p><a href=\"/doc/user/invite-contacts\" target=\"_blank\">Invite and find</a> your Gmail, Yahoo and Hotmail contacts!</p>
13   - <p>Start exploring and Have fun!</p>" % [environment.name, url_for(:controller => :browse, :action => :people, :filter => 'more_recent')]) %>
  3 + <h1><%= _("Welcome to %s!") % environment.name %></h1>
  4 + <h3><%= _("Thanks for signing up, we're thrilled to have you on our social network!") %></h3>
  5 + <p><%= _("Firstly, some tips for getting started:") %></p>
  6 + <h4><%= _("Confirm your account!") %></h4>
  7 + <p><%= _("You should receive a welcome email from us shortly. Please take a second to follow the link within to confirm your account.") %></p>
  8 + <p><%= _("You won't appear as %s until your account is confirmed.") % link_to user, {:controller => :browse, :action => :people, :filter => 'more_recent'}, :target => '_blank' %></p>
  9 + <h4><%= _("What to do next?") %></h4>
  10 + <p><%= _("%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' %></p>
  11 + <p><%= _("Learn the guidelines. Read the %s for more details on how to use this social network!") % link_to _('Documentation'), {:controller => 'doc'}, :target => '_blank' %></p>
  12 + <p><%= _("%s your Gmail, Yahoo and Hotmail contacts!") % link_to _('Invite and find'), {:controller => 'doc', :section => 'user', :topic => 'invite-contacts'}, :target => '_blank' %></p>
  13 + <p><%= _("Start exploring and have fun!") %></p>
14 14 </div>
15 15 <% else %>
16 16 <h1><%= _('Sign up for %s!') % environment.name %></h1>
... ...