Sha256: 2d9a991bcfd5bffdaf29080344dc7e8ae6ee2dc17f88b0c08fb51bcf0af4a6c0

Contents?: true

Size: 685 Bytes

Versions: 7

Compression:

Stored size: 685 Bytes

Contents

%li.highlight[contact]
  = avatar_for(contact, size: "16x16")

  %ul.tools
    = hook(:contact_tools_before, self, contact: contact)

    - if can?(:update, contact)
      %li= link_to_edit(contact)

    - if shown_on_landing_page?
      %li= link_to_discard(contact)

    - if can?(:destroy, contact)
      %li= link_to_delete(contact)

  .indentslim
    = link_to_if can?(:read, contact), contact.full_name(current_user.preference[:contacts_naming]), contact
    %tt
      = brief_account_info(contact)

      - if (lead = contact.lead) and lead.referred_by?
        –
        == #{t :referred_by_small} #{lead.referred_by}

    = hook(:contact_bottom, self, contact: contact)

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fat_free_crm-0.22.1 app/views/contacts/_index_brief.html.haml
fat_free_crm-0.22.0 app/views/contacts/_index_brief.html.haml
fat_free_crm-0.21.0 app/views/contacts/_index_brief.html.haml
fat_free_crm-0.20.1 app/views/contacts/_index_brief.html.haml
fat_free_crm-0.20.0 app/views/contacts/_index_brief.html.haml
fat_free_crm-0.19.2 app/views/contacts/_index_brief.html.haml
fat_free_crm-0.19.0 app/views/contacts/_index_brief.html.haml