Sha256: 230391164c72ea9fbba481e8a2d4e3b9c885f4a9416d4c0aa65697f76bb47b33
Contents?: true
Size: 1.54 KB
Versions: 2
Compression:
Stored size: 1.54 KB
Contents
%section.section.manage %h1.section-title= title "Message" - recipient_count = pluralize(BulkMessageWorker.build_recipients(@message.recipients).count, "recipient") %p %b Name: = @message.name %p %b Subject: = @message.subject %p %b Template: = @message.template.titleize %p %b Recipients: = @message.recipients_list %br %small %em #{recipient_count} currently match this query. %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 to #{recipient_count}." } \| - 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hackathon_manager-0.5.11 | app/views/manage/messages/show.html.haml |
hackathon_manager-0.5.10 | app/views/manage/messages/show.html.haml |