Sha256: 909f3b225f79d85c3618e7a56a0f3cb3f24ca69993441ee5ed3fae71eec77f5f

Contents?: true

Size: 545 Bytes

Versions: 4

Compression:

Stored size: 545 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
    - 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

4 entries across 4 versions & 1 rubygems

Version Path
e9_crm-0.1.10 app/views/e9_crm/contacts/_details.html.haml
e9_crm-0.1.8 app/views/e9_crm/contacts/_details.html.haml
e9_crm-0.1.7 app/views/e9_crm/contacts/_details.html.haml
e9_crm-0.1.6 app/views/e9_crm/contacts/_details.html.haml