mailr/app/views/messages/_messages.html.haml
Wojciech Todryk 77c8d3e7d7 devel
2012-03-30 19:31:23 +02:00

21 lines
525 B
Plaintext
Executable file

= will_paginate @messages, :class => "custom_pagination bottom-pix18"
%table{:class=>"table table-bordered records"}
%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}
= will_paginate @messages , :class => "custom_pagination bottom-pix18"