mailr/app/views/messages/index.html.haml

31 lines
717 B
Plaintext
Raw Normal View History

2012-03-24 13:23:34 +01:00
= content_for :sidebar do
= render :partial => "sidebar/sidebar"
= content_for :title do
\-
= t(:messages,:scope=>:message)
= render :partial => 'common/main_navigation', :locals => { :messages => :active }
2012-03-30 19:31:23 +02:00
.well{:style=>"padding: 5px 3pt;"}
%h3
= t(:current,:scope=>:folder)
\:
= pretty_folder_name(@current_folder)
%h5
= t(:total,:scope=>:message)
\:
= @messages.total_entries
2012-03-24 13:23:34 +01:00
%form{:class=>"form-horizontal top-pix18",:action=>"#{messages_ops_multi_path}",:method=>"post"}
- if @current_folder.nil?
.alert
= t(:no_selected,:scope=>:folder)
- if @messages.size.zero?
.alert
= t(:no_in,:scope=>:message)
- else
= render :partial => 'multi_ops'
= render :partial => 'messages'