diff options
author | Alex Legler <alex@a3li.li> | 2015-02-22 01:15:37 +0100 |
---|---|---|
committer | Alex Legler <alex@a3li.li> | 2015-02-22 01:15:37 +0100 |
commit | b4349612cb3a0481d66645c1f60dad81e89f607e (patch) | |
tree | eef2dc5412f4caa5378c54ba984cded42e680098 | |
parent | compact the headers table a bit (diff) | |
download | frontend-b4349612cb3a0481d66645c1f60dad81e89f607e.tar.gz frontend-b4349612cb3a0481d66645c1f60dad81e89f607e.tar.bz2 frontend-b4349612cb3a0481d66645c1f60dad81e89f607e.zip |
CC nil?
-rw-r--r-- | views/message.erb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/views/message.erb b/views/message.erb index b0f32a8..181f532 100644 --- a/views/message.erb +++ b/views/message.erb @@ -9,10 +9,12 @@ <th>To:</th> <td colspan="3"><%= h strip_email_domain(message['_source']['to']) %></td> </tr> + <% unless message['_source']['cc'] == nil or message['_source']['cc'] == '' %> <tr> <th>Cc:</th> <td colspan="3"><%= h strip_email_domain(message['_source']['cc']) %></td> </tr> + <% end %> <tr> <th>Subject:</th> <td colspan="3"><strong><%= h message['_source']['subject'] %></strong></td> |