.row .span12 .person-header .person-avatar = person_avatar_with_fallback(@person, 150) .person-values-and-tags %ul.person-values %li %h3= number_as_cents(@person.lifetime_ticket_value) %h6= pluralize(@person.tickets.length, 'tickets') %li %h3= number_as_cents(@person.lifetime_donations) %h6= pluralize(@person.orders.collect(&:donations).flatten.length, 'donation') %li %h3= number_as_cents(@person.lifetime_value) %h6 lifetime -unless @person.member.nil? %ul.detailed-list.tags %li.tag.rounder{:style => "background-color: #175c71"}= link_to "Member", person_memberships_path(@person), :style => "color:white" .person-tags = render :partial=>'shared/tags', :locals => { :tags => @person.tag_list, :subject => @person } %h1 #{@person} - unless @person.kind_of? Company %h6.company-and-title= [@person.title, @person.company_name].select {|s| s.present? }.join(', ') %ul.person-links -if @person.email.present? %li= mail_to @person.email, @person.email, :class => 'email' -if @person.twitter_handle.present? %li= link_to @person.twitter_handle, full_url(@person.twitter_handle, 'http://twitter.com/'), :class => 'twitter' -if @person.facebook_url.present? %li= link_to @person.facebook_url, full_url(@person.facebook_url, 'http://facebook.com/'), :class => 'facebook' -if @person.linked_in_url.present? %li= link_to @person.linked_in_url, full_url(@person.linked_in_url, 'http://linkedin.com/in/'), :class => 'linked-in' -unless @person.member.blank? %li= link_to @person.member.member_number, person_memberships_path(@person), :class => 'member-number'