<% content_for :sidebar do %>
<%= render :partial => 'shared/folders' %>
<% end %>
<%= @folder_name %>
<%= form_tag({:controller=>'webmail', :action=>'messages'})%>
<%=t :operations%>
<%= t :operations_txt %>
<%= submit_tag(t(:delete), :name=>'op')%>
<%= submit_tag(t(:copy), :name=> 'op')%>
<%= submit_tag(t(:move), :name=>'op')%>
<%= submit_tag(t(:mark_read), :name=>'op')%>
<%= submit_tag(t(:mark_unread), :name=>'op')%>
<%= t :destination_txt %>
<%= render :partial => "search" %>
<%= page_navigation_webmail @pages if @pages.page_count > 1 %>
|
<% if @folder_name == CDF::CONFIG[:mail_sent] %>
<%= link_to(t(:to), :controller=>:webmail, :action=>:messages, :op=>'SORT', :page=>@page, :scc=>'to_flat')%> |
<% else %>
<%= link_to(t(:from), :controller=>:webmail, :action=>:messages, :op=>'SORT', :page=>@page, :scc=>'from_flat')%> |
<% end%>
<%= link_to(t(:subject), :controller=>:webmail, :action=>:messages, :op=>'SORT', :page=>@page, :scc=>'subject')%> |
<%= link_to(t(:date), :controller=>:webmail, :action=>:messages, :op=>'SORT', :page=>@page, :scc=>'date')%> |
<%= link_to(t(:size), :controller=>:webmail, :action=>:messages, :op=>'SORT', :page=>@page, :scc=>'size')%> |
|
<% for message in @messages %>
<%= render :partial => 'message_row', :object => message %>
<% end %>
<%= page_navigation_webmail @pages if @pages.page_count > 1 %>