Sha256: 688dca937a5d6a11768fc7df07301266c9fef048b57aaab7ee776b056fe1f5e6
Contents?: true
Size: 1.29 KB
Versions: 2
Compression:
Stored size: 1.29 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(:options, :custom_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-custom-info = record.custom_info %td.actions - if record.contacts.present? = link_to_show_resource(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.10 | app/views/e9_crm/deals/_leads_table.html.haml |
e9_crm-0.1.8 | app/views/e9_crm/deals/_leads_table.html.haml |