%= link_to t(:refresh), :controller => 'messages', :action => 'refresh' %>
Current: <%= pretty_folder_name(@current_folder) %>
<%= @current_folder.inspect %>
<%= Time.now - @current_folder.msgs_updated_at %>
Folders
<% if @folders.size.zero? %>
No folders.
<% else %>
<% @folders.each do |f|%>
<% if @selected_folder.upcase == f.name.upcase %>
- <%= folder_link(f) %>
<% else %>
- <%= folder_link(f) %>
<% end %>
<% end %>
<% end %>
<%= link_to t(:logout), :controller => 'user', :action => 'logout' %>