This reverts commit 9f4035ab019803fc53844e70884b0519142deb18. Conflicts: app/views/services/_remote_friend.html.haml app/views/users/getting_started/_step_3.html.haml refactored invitations, added them to the last page fixed styling on adding an aspect to the aspect list added a facebook for person edit aspect memberships touched up and simplified sign-up flow fix styling on step 3
20 lines
776 B
Text
20 lines
776 B
Text
- if AppConfig[:invites_off]
|
|
= t('.invites_closed')
|
|
-else
|
|
-if invites > 0
|
|
- if SERVICES['facebook']['app_id'] !=""
|
|
%h4{:style => 'text-align:center;'}
|
|
- if defined? remote
|
|
= link_to t('.from_facebook'), friend_finder_path('facebook', :remote => remote), :rel => 'facebox'
|
|
-else
|
|
= link_to t('.from_facebook'), friend_finder_path('facebook'), :rel => 'facebox'
|
|
|
|
= t('or')
|
|
= link_to t('.by_email'), new_user_invitation_path, :title => t('.invite_someone'), :rel => 'facebox'
|
|
- else
|
|
%h4
|
|
= link_to t('.by_email'), new_user_invitation_path, :title => t('.invite_someone')
|
|
%h5{:style => 'text-align:center;'}
|
|
= t('.invitations_left', :count => invites)
|
|
- else
|
|
= t('.dont_have_now')
|