diff options
author | nfoy <nfoy@purdue.edu> | 2014-04-27 23:05:26 -0400 |
---|---|---|
committer | nfoy <nfoy@purdue.edu> | 2014-04-27 23:05:26 -0400 |
commit | 17169088974477c2702377a5ea3e14afff62e009 (patch) | |
tree | efa3f6c8740b3f67dce6e410aaeaca48511d152c /app | |
parent | a0ac7f939c770a8202f32805b879abd71de91170 (diff) |
Fixed conversations.
Diffstat (limited to 'app')
-rw-r--r-- | app/views/pms/index.html.erb | 16 |
1 files 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 @@ <col width="250"> <col width="300"> <tbody> - <% 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? %> <tr> <tr> <td><b>With</b></td> @@ -38,9 +38,9 @@ <% end %> <% end %> </tr> - <% else %> - <h4> No unread conversations </h4> - <% end %> + <%# else %> + + <%# end %> </tbody> </table> @@ -53,7 +53,7 @@ <col width="250"> <col width="300"> <tbody> - <% 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? %> <tr> <tr> <td><b>With</b></td> @@ -80,8 +80,8 @@ <% end %> <% end %> </tr> - <% else %> - <h4> No unread conversations </h4> - <% end %> + <% #else %> + + <% #end %> </tbody> </table>
\ No newline at end of file |