Sha256: cf6caa3b65a5d4a6571a1480f940bc698b7f7fe80be8ae25df110b384d328986

Contents?: true

Size: 919 Bytes

Versions: 2

Compression:

Stored size: 919 Bytes

Contents

.contact-body
  = title resource.name
  .contact-photo
    %img{:src => resource.avatar_url, :alt => "Avatar for #{resource.name}"}
  = render 'who', :record => resource, :hide_name => true
  .contact-links.actions
    = link_to_edit_resource(resource)
    = google_search_link(resource.name)
    = google_news_link(resource.name)
  - if (tags = resource.tags(:show_all => true)).present?
    .contact-tags
      %label #{Tag.model_name.human.pluralize}:
      = contact_tag_list(tags)
  .contact-info
    %label #{Contact.human_attribute_name(:info)}:
    = contact_simple_format(resource.info.presence || t(:none))
  - if company = resource.company
    .contact-company
      %label= company.name

      .contact-company-links.actions
        = google_search_link(company.name)
        = google_news_link(company.name)

      - if company.info.present?
        = k(company.info)
.contact-sidebar
  = render 'sidebar'

Version data entries

2 entries across 2 versions & 1 rubygems

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