<% # Copyright (C) 2012 - present Instructure, Inc. # # This file is part of Canvas. # # Canvas is free software: you can redistribute it and/or modify it under # the terms of the GNU Affero General Public License as published by the Free # Software Foundation, version 3 of the License. # # Canvas is distributed in the hope that it will be useful, but WITHOUT ANY # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR # A PARTICULAR PURPOSE. See the GNU Affero General Public License for more # details. # # You should have received a copy of the GNU Affero General Public License along # with this program. If not, see . %>
  • <%= message.subject %> <%= message.workflow_state.capitalize %>
    <%= t('id') %>
    <%= message.id %>
    <%= t('titles.subject', 'Subject') %>
    <%= message.subject %>
    <%= t('titles.to', 'To') %>
    <%= message.to %>
    <%= t('titles.from_name', 'From Name') %>
    <%= message.from_name %>
    <%= t('titles.reply_to', 'Reply to') %>
    <%= IncomingMail::ReplyToAddress.new(message).address %> (<%= t('actions.reply', 'Reply') %>)
    <%= t('titles.created_at', 'Created at') %>
    <%= message.created_at %>
    <%= t('titles.sent_at', 'Sent at') %>
    <%= message.sent_at %>
    <%= t('titles.delay_for', 'Delay for') %>
    <%= message.delay_for %>
    <%= t('titles.path_type', 'Path type') %>
    <%= message.path_type %>
    <%= t('titles.notification_name', 'Notification Name') %>
    <%= message.notification_name %>
    <%= message.body %>
    <% if message.html_body.present? %> <%= link_to "Open in new window", user_message_html_message_path(message.user, message), :target => "_blank", :class => "icon-off small" %> <% end %>