Commit 216fb6a40ef4f85c393f120680fcbd36a31d3219
1 parent
4e2c36f7
Exists in
master
and in
27 other branches
Changes order in invitation page
Showing
2 changed files
with
10 additions
and
4 deletions
Show diff stats
app/views/invite/_select_address_book.rhtml
app/views/invite/invite_friends.rhtml
@@ -4,11 +4,9 @@ | @@ -4,11 +4,9 @@ | ||
4 | <h1><%= _('Invite your friends to join %s') % profile.name %></h1> | 4 | <h1><%= _('Invite your friends to join %s') % profile.name %></h1> |
5 | <% end %> | 5 | <% end %> |
6 | 6 | ||
7 | -<%= render :partial => 'invite/select_address_book' %> | ||
8 | - | ||
9 | <% unless profile.person? %> | 7 | <% unless profile.person? %> |
10 | <h2><%= _('Invite other registered users') %></h2> | 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 | <% form_tag :action => 'invite_registered_friend' do %> | 10 | <% form_tag :action => 'invite_registered_friend' do %> |
13 | <% search_action = url_for(:action => 'search_friend') %> | 11 | <% search_action = url_for(:action => 'search_friend') %> |
14 | <%= token_input_field_tag(:q, 'search-friends', search_action, | 12 | <%= token_input_field_tag(:q, 'search-friends', search_action, |
@@ -22,6 +20,13 @@ | @@ -22,6 +20,13 @@ | ||
22 | <%= button('cancel', _('Cancel'), profile.url)%> | 20 | <%= button('cancel', _('Cancel'), profile.url)%> |
23 | <% end %> | 21 | <% end %> |
24 | <% end %> | 22 | <% end %> |
23 | + | ||
24 | + <br /> | ||
25 | + <h2><%= _('Invite people from my e-mail contacts') %></h2> | ||
26 | + <% header = 'h3' %> | ||
27 | + | ||
25 | <% end %> | 28 | <% end %> |
26 | 29 | ||
30 | +<%= render :partial => 'invite/select_address_book', :locals => {:header => header} %> | ||
31 | + | ||
27 | <div id="loadingScreen"></div> | 32 | <div id="loadingScreen"></div> |