Sha256: b3de4bf07a867b8888e49bd721cbbbde5841682e14504c1a5d0c6eca77e1b034
Contents?: true
Size: 1.26 KB
Versions: 2
Compression:
Stored size: 1.26 KB
Contents
%table.records %thead %tr %th= orderable_column_link(:created_at) %th= orderable_column_link(:offer_name) %th= orderable_column_link(:campaign_code) %th= orderable_column_link(:lead_name) %th= orderable_column_link(:lead_email) %th= orderable_column_link(:info) %th= t(:actions) %tbody - if collection.empty? %tr %td{:colspan => 7}= e9_t(:no_records_text, :scope => 'e9_crm.leads') - else - collection.each do |record| %tr{:id => "ids_#{record.id}", :class => cycle('odd', 'even')} %td.record-created-at = I18n.l(record.created_at) %td.record-offer-name = record.offer_name %td.record-campaign-code = record.campaign_code %td.record-lead-name = record.lead_name %td.record-lead-email = record.lead_email %td.record-info = record.info %td.actions - if record.contacts.present? = link_to 'View Contact', record.contacts.first = link_to 'Create Deal', edit_deal_path(record) = link_to 'Delete Lead', record, :method => :delete, :remote => true, :confirm => I18n.t("#{resource_class.i18n_scope}.links.confirm_destroy")
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
e9_crm-0.1.20 | app/views/e9_crm/deals/_leads_table.html.haml |
e9_crm-0.1.19 | app/views/e9_crm/deals/_leads_table.html.haml |