diff options
author | Alex Legler <alex@a3li.li> | 2015-02-22 01:13:52 +0100 |
---|---|---|
committer | Alex Legler <alex@a3li.li> | 2015-02-22 01:13:52 +0100 |
commit | b8a7be58d4285a54798a946acd48df547fabc7cf (patch) | |
tree | ed2484ebca316025b9165b15a910eb28593fccec | |
parent | more pagination tuning (diff) | |
download | frontend-b8a7be58d4285a54798a946acd48df547fabc7cf.tar.gz frontend-b8a7be58d4285a54798a946acd48df547fabc7cf.tar.bz2 frontend-b8a7be58d4285a54798a946acd48df547fabc7cf.zip |
compact the headers table a bit
-rw-r--r-- | views/message.erb | 16 |
1 files 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'] %> --> |