2012-03-24 13:23:34 +01:00
|
|
|
|
2012-03-24 18:09:31 +01:00
|
|
|
= will_paginate @messages, :class => "custom_pagination bottom-pix18"
|
2012-03-24 13:23:34 +01:00
|
|
|
|
2012-03-24 18:09:31 +01:00
|
|
|
%table{:class=>"table table-bordered records"}
|
2012-03-24 13:23:34 +01:00
|
|
|
%thead
|
|
|
|
%tr
|
|
|
|
%th
|
|
|
|
%input{:id=>"toggleall",:type=>"checkbox",:name=>"allbox"}
|
|
|
|
%th
|
|
|
|
%i{:class=>"icon-file"}
|
|
|
|
= raw headers_links
|
|
|
|
%tbody
|
|
|
|
- @messages.each do |m|
|
|
|
|
- m.unseen == true ? unseen = "unseen" : unseen = ""
|
|
|
|
%tr{:class=>"#{unseen}"}
|
|
|
|
= render :partial => 'messages/message', :locals => {:message => m}
|
|
|
|
|
2012-03-24 18:09:31 +01:00
|
|
|
= will_paginate @messages , :class => "custom_pagination bottom-pix18"
|
2012-03-24 13:23:34 +01:00
|
|
|
|
|
|
|
|