diaspora/app/views/shared/_invitations.haml
zhitomirskiyi 4e96d11cd0 Revert "refactored local person person friend finder functionality to use the partial"
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
2011-02-08 16:40:33 -08:00

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')