aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/admin_request/show.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin_request/show.rhtml')
-rw-r--r--app/views/admin_request/show.rhtml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/admin_request/show.rhtml b/app/views/admin_request/show.rhtml
index 394634470..1dd82dc6e 100644
--- a/app/views/admin_request/show.rhtml
+++ b/app/views/admin_request/show.rhtml
@@ -10,6 +10,7 @@
<strong>Public body:</strong> <%=h @info_request.public_body.name %> <br>
<strong>Incoming email address:</strong> <%=h @info_request.incoming_email %> <br>
<strong>Envelope email address:</strong> <%=h @info_request.envelope_email %> <br>
+<strong>Described last incoming message id:</strong> <%=h @info_request.described_last_incoming_message_id.nil? ? "nil" : @info_request.described_last_incoming_message_id %>
</p>
<%= link_to 'Public page', main_url(request_url(@info_request)) %>
@@ -18,6 +19,7 @@
<table>
<tr>
+ <th>Id</th>
<% for column in OutgoingMessage.content_columns %>
<th><%= column.human_name %></th>
<% end %>
@@ -26,6 +28,7 @@
<% for outgoing_message in @info_request.outgoing_messages %>
<tr class="<%= cycle('odd', 'even') %>">
+ <td><%=h outgoing_message.id %></td>
<% for column in OutgoingMessage.content_columns.map { |c| c.name } %>
<td><%=h outgoing_message.send(column) %></td>
<% end %>
@@ -44,6 +47,7 @@
<table>
<tr>
+ <th>Id</th>
<% for column in IncomingMessage.content_columns %>
<th><%= column.human_name %></th>
<% end %>
@@ -51,6 +55,7 @@
<% for incoming_message in @info_request.incoming_messages %>
<tr class="<%= cycle('odd', 'even') %>">
+ <td><%=h incoming_message.id %></td>
<% for column in IncomingMessage.content_columns.map { |c| c.name } %>
<td><%=h incoming_message.send(column) %></td>
<% end %>