breaking link
git-svn-id: http://svn.barleysodas.com/barleysodas/trunk@144 0f7b21a7-9e3a-4941-bbeb-ce5c7c368fa7master
parent
e419e9ce1e
commit
5056fac261
|
@ -18,9 +18,9 @@
|
|||
<%= link_to 'Destroy', people_path(@people.page.title_for_url), :confirm => 'Are you sure?', :method => :delete %><br />
|
||||
<% unless @people.tagged_images.empty? -%><%= tagged_image_browser_link -%><br /><% end -%>
|
||||
<%= show_friends_link(@people) -%><br />
|
||||
<% 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) -%><br /><% end -%>
|
||||
<% if @people.friend_of?(session[:people_id]) -%><%= remove_friend_link(@people) -%><br /><% end -%>
|
||||
<%= link_to "#{pluralize(@people.beers.size, 'Beer')} Experience", experience_path(:id => @people.page.title_for_url) -%><br />
|
||||
<span id="person_invitations"><%= render :partial => 'invitations/invitations' -%></span><br />
|
||||
<% 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 })" -%><br /><% end -%>
|
||||
<% end -%>
|
||||
<% end -%>
|
||||
|
|
Reference in New Issue