2011-08-02 23:12:17 +02:00
|
|
|
<div class="inner">
|
|
|
|
|
|
|
|
<div class="actions-bar wat-cf">
|
2011-08-16 20:05:58 +02:00
|
|
|
<div class="header_info"><%= t(:current,:scope=>:folder) %>: <%= pretty_folder_name(@current_folder) %>
|
|
|
|
<span class="other_info">(<%= t(:total,:scope=>:message) %>: <%= @messages.total_entries %>)</span>
|
|
|
|
</div>
|
2011-08-02 23:12:17 +02:00
|
|
|
<%= will_paginate @messages %>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
2011-08-24 19:20:13 +02:00
|
|
|
<th class="first"><input id="toggleall" class="checkbox toggle" type="checkbox" name="allbox"/></th>
|
2011-08-02 23:12:17 +02:00
|
|
|
<th><%= raw(' ') %></th>
|
2011-08-16 20:05:58 +02:00
|
|
|
<%= raw headers_links %>
|
2011-08-02 23:12:17 +02:00
|
|
|
<th class="last"></th>
|
|
|
|
</tr>
|
|
|
|
<% trclass = :even %>
|
|
|
|
<% @messages.each do |m| %>
|
2011-08-16 20:05:58 +02:00
|
|
|
<% m.unseen == true ? unseen = "unseen" : unseen = "" %>
|
|
|
|
<tr class="<%= trclass.to_s %> <%= unseen %>">
|
2011-09-09 22:10:25 +02:00
|
|
|
<%= render :partial => 'messages/message', :object => m %>
|
2011-08-02 23:12:17 +02:00
|
|
|
</tr>
|
|
|
|
<% trclass == :even ? trclass = :odd : trclass = :even %>
|
|
|
|
<% end %>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<div class="actions-bar wat-cf">
|
|
|
|
<%= will_paginate @messages %>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|