commit: 33668a2c535e2baa9e73238bb1e5fc6ab733e39f Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> AuthorDate: Sat Feb 21 23:34:28 2015 +0000 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> CommitDate: Sat Feb 21 23:34:28 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/ag-web.git;a=commit;h=33668a2c
Make good use of message-id. Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org> --- views/message.erb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/views/message.erb b/views/message.erb index 59d2499..be7df4d 100644 --- a/views/message.erb +++ b/views/message.erb @@ -27,6 +27,10 @@ <td><a href="<%= parent['_id'] %>"><%= parent['_source']['subject'] %></a> by <%= parent['_source']['from'] %></td> </tr> <% end %> + <tr> + <th>Message-Id:</th> + <td><%= message['_source']['raw_message_id'] %></td> + </tr> </table> <!-- Message-Id: <%= message['_source']['raw_message_id'] %> --> @@ -68,4 +72,7 @@ </table> <% end %> -<a href="/<%= h list %>/report/<%= message['_id'] %>" class="btn btn-danger btn-xs"><span class="fa fa-ban"></span> Report Message</a> \ No newline at end of file +<a href="/<%= h list %>/report/<%= message['_id'] %>" class="btn btn-danger btn-xs"><span class="fa fa-ban"></span> Report Message</a> + +<a href="https://news.gmane.org/find-root.php?message_id=<%= url_encode(message['_source']['raw_message_id']) =%>" class="btn btn-xs"><span class="fa"></span>Find on GMANE</a> +