Sha256: f6a4eb07ea395127b7f5ccd4ac4e1d4b2070c8097777ad042ef3da8bb4b96ba2
Contents?: true
Size: 1.75 KB
Versions: 14
Compression:
Stored size: 1.75 KB
Contents
- content_for :sidebar do = render 'wco_email/sidebar' .conversations-list = check_box_tag 'conversation_ids[]', @conversation.id.to_s, true, { class: 'i-sel', disabled: true } .conversations-show.maxwidth = render '/wco_email/conversations/form_mini', conversation: @conversation %h5 <b>(#{@messages.length})</b> %span.gray.mini= @conversation.id = render '/wco/tags/index_chips', tags: @conversation.tags, config: { skip_checkbox: true } = render '/wco_email/conversations/tags_actions' = render '/wco/leads/index_chips', leads: @conversation.leads = render '/wco/leadsets/index_chips', leadsets: @conversation.leadsets - if @other_convs.present? %h5 Other convs: - @other_convs.each do |conv| .d-flex = button_to "Merge", merge_conversations_path( @conversation, conv ), data: { confirm: 'Are you sure?' } = conv.subject (#{conv.messages.length}) %span.gray.mini= conv.id .m-0.p-0 = paginate @messages, param_name: :messages_page - @messages.each do |msg| .Message.mb-2 = render '/wco_email/messages/meta', message: msg = link_to '[expand]', message_iframe_path(msg, expand_history: true), target: "iframe_#{msg.id}" = link_to '[collapse]', message_iframe_path(msg), target: "iframe_#{msg.id}" %span.collapse-expand{ id: "iframe_#{msg.id}" } [<>] %iframe.message-iframe{ src: message_iframe_path(msg), name: "iframe_#{msg.id}", onload: "resizeIframe(this)" } = paginate @messages, param_name: :messages_page - msg = @messages.last = render '/wco_email/contexts/form_reply', lead_id: msg.lead_id, message: msg, ctx: WcoEmail::Context.new({ from_email: msg.to&.downcase, subject: msg.subject, email_template_id: ET.find_by( slug: 'blank').id })
Version data entries
14 entries across 14 versions & 1 rubygems