Sha256: ce652e2cb96c5f3887888162d5403b21ea3065a858bcb25473ac1da0de58883b

Contents?: true

Size: 908 Bytes

Versions: 2

Compression:

Stored size: 908 Bytes

Contents

.contact-who
  %span.contact-name= record.name
  - if record.company_id? || record.title?
    = " - "
    = link_to_contact_search(:by_title, record.title) if record.title?
    = " at " if record.company_id? && record.title?
    = link_to_contact_search(:by_company, record.company_id, record.company_name) if record.company_id?

- 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.instant_messaging_handle_attributes.any?
  .contact-im-handles
    - record.instant_messaging_handle_attributes.each do |instant_messaging_handle_attribute|
      .contact-im-handle= instant_messaging_handle_attribute

- if record.website_attributes.any?
  .contact-websites
    - record.website_attributes.each do |website_attribute|
      .contact-website= website_attribute

Version data entries

2 entries across 2 versions & 1 rubygems

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