Sha256: 8cae47c320960087bcd4883675743aabd00dd06f337f965163ab4d52b7c473ad

Contents?: true

Size: 742 Bytes

Versions: 21

Compression:

Stored size: 742 Bytes

Contents

= render 'who', :record => record

- if record.phone_number_attributes.any?
  .contact-phone-numbers
    - record.phone_number_attributes.each do |phone_number_attribute|
      .contact-phone-number= phone_number_attribute

- if record.users.any?
  .contact-emails
    - unless record.ok_to_email?
      .contact-email-warning
        = resource_humanize(:not_ok_to_email)
    - record.users.each do |user|
      .contact-email
        -#= '* ' if contact_user_subscribed_to_newsletter?(user)
        = link_to(user.email, "mailto:#{user.email}", 'data-contact-id' => record.id, 'data-user-id' => user.id, :class => 'contact-mailto')
        = "(#{user.options.type})" if user.options.type
        = "(primary)"              if user.primary?

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
e9_crm-0.1.13 app/views/e9_crm/contacts/_details.html.haml