Sha256: bac63ae7e3701b1c4fded4fd7c9822da686d76607f288e5c5d244ed892e6bea9
Contents?: true
Size: 1.38 KB
Versions: 21
Compression:
Stored size: 1.38 KB
Contents
%section.section.manage %h1.section-title= title "Message" %p#notice= notice %p %b Name: = @message.name %p %b Subject: = @message.subject %p %b Template: = @message.template.titleize %p %b Recipients: = @message.recipients_list %p %b Preview: = link_to "Open full preview »".html_safe, preview_manage_message_path %iframe.email-preview{src: preview_manage_message_path(@message)} %p %b Status: = @message.status.titleize %p %b Queued At: = @message.queued_at || "(n/a)" %p %b Started At: = @message.started_at || "(n/a)" %p %b Delivered At: = @message.delivered_at || "(n/a)" %hr - unless current_user.admin_limited_access - if @message.status == "drafted" = btn_link_to 'Deliver', deliver_manage_message_path(@message), method: :patch, data: { confirm: "Are you sure? The message \"#{@message.name}\" will be sent out to all recipients." } \| - if @message.can_edit? = link_to 'Edit', edit_manage_message_path(@message) \| = link_to 'Delete', manage_message_path(@message), method: :delete, data: { confirm: "Are you sure? The message \"#{@message.name}\" will be permanently erased. This action is irreversible." } \| = link_to 'Duplicate', duplicate_manage_message_path(@message), method: :patch \| = link_to 'Back', manage_messages_path
Version data entries
21 entries across 21 versions & 1 rubygems