diff options
author | Luke Shumaker <shumakl@purdue.edu> | 2014-04-28 00:04:47 -0400 |
---|---|---|
committer | Luke Shumaker <shumakl@purdue.edu> | 2014-04-28 00:04:47 -0400 |
commit | 6b66877bda4c0e4a33bb3109304636d5ada85904 (patch) | |
tree | 7065307802fec8452afc89c8a7b445fd2ceca772 /app/views/pms/index.html.erb | |
parent | 33fcf6de9feaaa6f90dfe5082e08d280c930dae1 (diff) | |
parent | 7a4832621f1a0bb2e4b86ee9f879a73df0188a3e (diff) |
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'app/views/pms/index.html.erb')
-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 |