From 17169088974477c2702377a5ea3e14afff62e009 Mon Sep 17 00:00:00 2001 From: nfoy Date: Sun, 27 Apr 2014 23:05:26 -0400 Subject: Fixed conversations. --- app/views/pms/index.html.erb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/views/pms/index.html.erb b/app/views/pms/index.html.erb index a1feb42..056b371 100644 --- a/app/views/pms/index.html.erb +++ b/app/views/pms/index.html.erb @@ -11,7 +11,7 @@ - <% if conversations.reject { |c| c.is_unread?(current_user) && (c.receipts_for current_user).last.message.sender != current_user }.empty? %> + <%# if conversations.reject { |c| c.is_unread?(current_user) && (c.receipts_for current_user).last.message.sender != current_user }.empty? %> With @@ -38,9 +38,9 @@ <% end %> <% end %> - <% else %> -

No unread conversations

- <% end %> + <%# else %> + + <%# end %> @@ -53,7 +53,7 @@ - <% if conversations.reject { |c| c.is_read?(current_user) || (c.receipts_for current_user).last.message.sender == current_user }.empty? %> + <%# if conversations.reject { |c| c.is_read?(current_user) || (c.receipts_for current_user).last.message.sender == current_user }.empty? %> With @@ -80,8 +80,8 @@ <% end %> <% end %> - <% else %> -

No unread conversations

- <% end %> + <% #else %> + + <% #end %> \ No newline at end of file -- cgit v1.2.3-54-g00ecf