From f2dc35efe54434e36ede6ec32a0c78da120f4ac7 Mon Sep 17 00:00:00 2001 From: andrew Date: Thu, 7 Feb 2008 06:03:13 +0000 Subject: [PATCH] adding godlike status git-svn-id: http://svn.barleysodas.com/barleysodas/trunk@150 0f7b21a7-9e3a-4941-bbeb-ce5c7c368fa7 --- app/views/peoples/show.rhtml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/peoples/show.rhtml b/app/views/peoples/show.rhtml index b974b45..8a28ca4 100644 --- a/app/views/peoples/show.rhtml +++ b/app/views/peoples/show.rhtml @@ -21,6 +21,7 @@ <% 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) -%>
+ <% if @people.beers.size == Beer.count -%><%= @people.title -%> is a god among men, having tried every beer.
<% end -%> <%= 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 -%>