commit: b8a7be58d4285a54798a946acd48df547fabc7cf
Author: Alex Legler <alex <AT> a3li <DOT> li>
AuthorDate: Sun Feb 22 00:13:52 2015 +0000
Commit: Alex Legler <a3li <AT> gentoo <DOT> org>
CommitDate: Sun Feb 22 00:13:52 2015 +0000
URL:
http://sources.gentoo.org/gitweb/?p=proj/ag-web.git;a=commit;h=b8a7be58
compact the headers table a bit
---
views/message.erb | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/views/message.erb b/views/message.erb
index c3ee987..b0f32a8 100644
--- a/views/message.erb
+++ b/views/message.erb
@@ -3,34 +3,32 @@
<table class="table table-condensed ag-header-table">
<tr>
<th class="ag-header-name-col">From:</th>
- <td><%= h strip_email_domain(message['_source']['from']) %></td>
+ <td colspan="3"><%= h strip_email_domain(message['_source']['from'])
%></td>
</tr>
<tr>
<th>To:</th>
- <td><%= h strip_email_domain(message['_source']['to']) %></td>
+ <td colspan="3"><%= h strip_email_domain(message['_source']['to']) %></td>
</tr>
<tr>
<th>Cc:</th>
- <td><%= h strip_email_domain(message['_source']['cc']) %></td>
+ <td colspan="3"><%= h strip_email_domain(message['_source']['cc']) %></td>
</tr>
<tr>
<th>Subject:</th>
- <td><strong><%= h message['_source']['subject'] %></strong></td>
+ <td colspan="3"><strong><%= h message['_source']['subject']
%></strong></td>
</tr>
<tr>
<th>Date:</th>
<td><%= date_format message['_source']['date'] %></td>
+ <th class="ag-header-name-col">Message-Id:</th>
+ <td><%= message['_source']['raw_message_id'] %></td>
</tr>
<% unless parent == nil %>
<tr>
<th>In Reply to:</th>
- <td><a href="<%= parent['_id'] %>"><%= parent['_source']['subject'] %></a>
by <%= parent['_source']['from'] %></td>
+ <td colspan="3"><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'] %> -->