diff --git a/app/views/friends/index.rhtml b/app/views/friends/index.rhtml index 3c72ec7..c873ad6 100644 --- a/app/views/friends/index.rhtml +++ b/app/views/friends/index.rhtml @@ -2,6 +2,21 @@
+ + <%= __('You have no friends yet.') %> + <%= link_to _('Do you want to see other people in this environment?'), :controller => 'search', :action => 'assets', :asset => 'people' %> + +
+<% else %> + <% button_bar do %> + <%= button(:back, _('Go back'), :controller => 'profile_editor') %> + <%= button(:search, _('Find people'), :controller => 'search', :action => 'assets', :asset => 'people') %> + <%= button(:search, _('Invite people from my e-mail contacts'), :action => 'invite') %> + <% end %> +<% end %> +- - <%= __('You have no friends yet.') %> - <%= link_to _('Do you want to see other people in this environment?'), :controller => 'search', :action => 'assets', :asset => 'people' %> - -
-<% end %> - <% button_bar do %> <%= button(:back, _('Go back'), :controller => 'profile_editor') %> <%= button(:search, _('Find people'), :controller => 'search', :action => 'assets', :asset => 'people') %> -- libgit2 0.21.2