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.34 app/views/e9_crm/contacts/_details.html.haml
e9_crm-0.1.33 app/views/e9_crm/contacts/_details.html.haml
e9_crm-0.1.32 app/views/e9_crm/contacts/_details.html.haml
e9_crm-0.1.31 app/views/e9_crm/contacts/_details.html.haml
e9_crm-0.1.30 app/views/e9_crm/contacts/_details.html.haml
e9_crm-0.1.29 app/views/e9_crm/contacts/_details.html.haml
e9_crm-0.1.28 app/views/e9_crm/contacts/_details.html.haml
e9_crm-0.1.27 app/views/e9_crm/contacts/_details.html.haml
e9_crm-0.1.26 app/views/e9_crm/contacts/_details.html.haml
e9_crm-0.1.25 app/views/e9_crm/contacts/_details.html.haml
e9_crm-0.1.24 app/views/e9_crm/contacts/_details.html.haml
e9_crm-0.1.23 app/views/e9_crm/contacts/_details.html.haml
e9_crm-0.1.22 app/views/e9_crm/contacts/_details.html.haml
e9_crm-0.1.21 app/views/e9_crm/contacts/_details.html.haml
e9_crm-0.1.20 app/views/e9_crm/contacts/_details.html.haml
e9_crm-0.1.19 app/views/e9_crm/contacts/_details.html.haml
e9_crm-0.1.18 app/views/e9_crm/contacts/_details.html.haml
e9_crm-0.1.17 app/views/e9_crm/contacts/_details.html.haml
e9_crm-0.1.16 app/views/e9_crm/contacts/_details.html.haml
e9_crm-0.1.14 app/views/e9_crm/contacts/_details.html.haml