Sha256: cc15b0b19b47d64d8c701b214ee8b360bfb5ae5fb291e5859225c7807c81c2c9
Contents?: true
Size: 1.19 KB
Versions: 7
Compression:
Stored size: 1.19 KB
Contents
%li.highlight[contact] = avatar_for(contact, size: "30x30") %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} %dt{ style: "padding: 2px 0px 0px 0px" } - if can?(:read, contact) - if contact.email.present? = link_to_email(contact.email) | - if contact.phone.present? == #{t :phone_small}: %b= contact.phone | - if contact.mobile.present? == #{t :mobile_small}: %b= contact.mobile | = t(:added_ago, value: timeago(contact.created_at)).html_safe - if contact.tags.present? %dt .tags= tags_for_index(contact) = hook(:contact_bottom, self, contact: contact)
Version data entries
7 entries across 7 versions & 1 rubygems