From 5056fac26156a5769075524a9a65c362fe80f200 Mon Sep 17 00:00:00 2001 From: andrew Date: Tue, 5 Feb 2008 18:29:13 +0000 Subject: [PATCH] breaking link git-svn-id: http://svn.barleysodas.com/barleysodas/trunk@144 0f7b21a7-9e3a-4941-bbeb-ce5c7c368fa7 --- app/views/peoples/show.rhtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/peoples/show.rhtml b/app/views/peoples/show.rhtml index fc05fec..b974b45 100644 --- a/app/views/peoples/show.rhtml +++ b/app/views/peoples/show.rhtml @@ -18,9 +18,9 @@ <%= link_to 'Destroy', people_path(@people.page.title_for_url), :confirm => 'Are you sure?', :method => :delete %>
<% unless @people.tagged_images.empty? -%><%= tagged_image_browser_link -%>
<% end -%> <%= show_friends_link(@people) -%>
- <% unless @people.id == session[:people_id] or @people.friend_of?(session[:people_id]) -%><%= add_friend_link(@people) -%><% end -%> + <% unless @people.id == session[:people_id] or @people.friend_of?(session[:people_id]) -%><%= add_friend_link(@people) -%>
<% end -%> <% if @people.friend_of?(session[:people_id]) -%><%= remove_friend_link(@people) -%>
<% end -%> <%= link_to "#{pluralize(@people.beers.size, 'Beer')} Experience", experience_path(:id => @people.page.title_for_url) -%>
<%= render :partial => 'invitations/invitations' -%>
<% if has_permission_for_action?(:create, :invitations) -%><%= link_to_remote "#{image_tag('list-add.png')} Invitation", :update => 'person_invitations', :url => invitations_path, :with => "'people_id=#{@people.id}'", :success => "new Effect.Highlight('person_invitations', { duration: 2.0 })" -%>
<% end -%> -<% end -%> \ No newline at end of file +<% end -%>