Commit 216fb6a40ef4f85c393f120680fcbd36a31d3219

Authored by Larissa Reis
1 parent 4e2c36f7

Changes order in invitation page

app/views/invite/_select_address_book.rhtml
1   -<h2><%= _('Step 1 of 2: Select address book') %></h2>
  1 +<% header ||='h2' %>
  2 +<<%= header %>><%= _('Step 1 of 2: Select address book') %></<%= header %>>
2 3  
3 4 <% form_tag do %>
4 5  
... ...
app/views/invite/invite_friends.rhtml
... ... @@ -4,11 +4,9 @@
4 4 <h1><%= _('Invite your friends to join %s') % profile.name %></h1>
5 5 <% end %>
6 6  
7   -<%= render :partial => 'invite/select_address_book' %>
8   -
9 7 <% unless profile.person? %>
10 8 <h2><%= _('Invite other registered users') %></h2>
11   - <p><%= _('You can also search for your friends\' profiles and invite them to join this community.') %></p>
  9 + <p><%= _('You can search for user profiles and invite them to join this community.') %></p>
12 10 <% form_tag :action => 'invite_registered_friend' do %>
13 11 <% search_action = url_for(:action => 'search_friend') %>
14 12 <%= token_input_field_tag(:q, 'search-friends', search_action,
... ... @@ -22,6 +20,13 @@
22 20 <%= button('cancel', _('Cancel'), profile.url)%>
23 21 <% end %>
24 22 <% end %>
  23 +
  24 + <br />
  25 + <h2><%= _('Invite people from my e-mail contacts') %></h2>
  26 + <% header = 'h3' %>
  27 +
25 28 <% end %>
26 29  
  30 +<%= render :partial => 'invite/select_address_book', :locals => {:header => header} %>
  31 +
27 32 <div id="loadingScreen"></div>
... ...