Sha256: e6fbd097575c728e3f4a7230d2b5557a1ccd5d3bd77278bd663c75e6c5ed4ce1

Contents?: true

Size: 655 Bytes

Versions: 2

Compression:

Stored size: 655 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}")
        = "(#{user.options.type})" if user.options.type
        = "(primary)"              if user.primary?

Version data entries

2 entries across 2 versions & 1 rubygems

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