diff options
Diffstat (limited to 'app/views/action_mailroom/inbound_emails/index.html.erb')
-rw-r--r-- | app/views/action_mailroom/inbound_emails/index.html.erb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app/views/action_mailroom/inbound_emails/index.html.erb b/app/views/action_mailroom/inbound_emails/index.html.erb new file mode 100644 index 0000000000..6636e351be --- /dev/null +++ b/app/views/action_mailroom/inbound_emails/index.html.erb @@ -0,0 +1,15 @@ +<% provide :title, "Deliver new inbound email" %> + +<h1>All inbound emails</h1> + +<table> + <tr><th>Message ID</th><th>Status</th></tr> + <% @inbound_emails.each do |inbound_email| %> + <tr> + <td><%= link_to inbound_email.message_id, main_app.rails_inbound_email_path(inbound_email) %></td> + <td><%= inbound_email.status %></td> + </tr> + <% end %> +</table> + +<%= link_to "Deliver new inbound email", main_app.new_rails_inbound_email_path %>
\ No newline at end of file |