cirandas.net

ref: master

app/views/home/welcome.html.erb


<% default_message = defined?(default_message) ? default_message : false %>

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

<% if environment.has_custom_welcome_screen? && !default_message %> <%= environment.settings[:signup_welcome_screen_body].html_safe %> <% else %>

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

<% if @display_confirmation_tips %>

<%= _("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.").html_safe % link_to(_('user'), {:controller => :search, :action => :people, :filter => 'more_recent'}, :target => '_blank') %>

<% else %>

<%= _("Wait for admin approvement!") %>

<%= _("The administrators will evaluate your signup request for approvement.") %>

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

<% end %>

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

<%= _("Access your %s and see your face on the network!").html_safe % (user.present? ? link_to(_('Profile'), {:controller => 'profile', :profile => user.identifier}, :target => '_blank') : 'Profile') %> <%= _("You can also explore your %s to customize your profile. Here are some %s on what you can do there.").html_safe % [user.present? ? link_to(_('Control Panel'), {:controller => 'profile_editor', :profile => user.identifier}, :target => '_blank') : 'Control Panel', link_to(_('tips'), {:controller => 'doc', :action => 'topic', :section => 'user', :topic => 'editing-person-info'}, :target => '_blank')] %>

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

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

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

<% end %> <%= render :partial => 'shared/template_welcome_page', :locals => {:template => @person_template, :header => _("What can I do as a %s?").html_safe} %>