Sha256: 80718b28fa3d14625ba5a7afa34545c2082efe66d5c503f42d531b7742da717b
Contents?: true
Size: 1.82 KB
Versions: 14
Compression:
Stored size: 1.82 KB
Contents
.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'
Version data entries
14 entries across 14 versions & 1 rubygems