Sha256: b69784a051228a1780ed7f8d4c15333631c0c03ccf891ee1b21a0b79f02936b0
Contents?: true
Size: 1.87 KB
Versions: 5
Compression:
Stored size: 1.87 KB
Contents
.panel#summary %span{style: "float:right"}= avatar_for(@contact, size: "50x50") = account_with_title_and_department(@contact) %div= render "shared/address_show", asset: @contact, type: 'business', title: :address %div - unless @contact.phone.blank? == #{t :phone}: <b>#{@contact.do_not_call ? content_tag(:strike, h(@contact.phone)) : h(@contact.phone)}</b><br /> - unless @contact.mobile.blank? == #{t :mobile}: <b>#{@contact.do_not_call ? content_tag(:strike, h(@contact.mobile)) : h(@contact.mobile)}</b><br /> - unless @contact.fax.blank? == #{t :fax}: <b>#{@contact.do_not_call ? content_tag(:strike, h(@contact.fax)) : h(@contact.fax)}</b><br /> %div - unless @contact.email.blank? == #{t :email}: <b>#{link_to_email(@contact.email)}</b><br /> - unless @contact.alt_email.blank? == #{t :alt_email_small}: <b>#{link_to_email(@contact.alt_email)}</b><br /> = web_presence_icons(@contact) .caption #{t :contact_summary} %dl %li %dt= @contact.assigned_to ? truncate(@contact.assignee.full_name, length: 16) : nil %tt #{t :assigned_to}: %li %dt - if @contact.lead = link_to(truncate(@contact.lead.name, length: 16), @contact.lead, title: @contact.lead.name) - else #{t :n_a} %tt #{t :lead}: %li %dt - if @contact.lead.try(:campaign) = link_to(truncate(@contact.lead.campaign.name, length: 16), @contact.lead.campaign, title: @contact.lead.campaign.name) - else #{t :n_a} %tt #{t :campaign}: - unless @contact.background_info.blank? .caption #{t :background_info} = auto_link(simple_format @contact.background_info) = render "fields/sidebar_show", asset: @contact - if @contact.tags.present? %dt .tags= tags_for_index(@contact) = hook(:show_contact_sidebar_bottom, self, contact: @contact)
Version data entries
5 entries across 5 versions & 1 rubygems