commit:     b4349612cb3a0481d66645c1f60dad81e89f607e
Author:     Alex Legler <alex <AT> a3li <DOT> li>
AuthorDate: Sun Feb 22 00:15:37 2015 +0000
Commit:     Alex Legler <a3li <AT> gentoo <DOT> org>
CommitDate: Sun Feb 22 00:15:37 2015 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/ag-web.git;a=commit;h=b4349612

CC nil?

---
 views/message.erb | 2 ++
 1 file changed, 2 insertions(+)

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>

Reply via email to