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

30 lines
713 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
\-
= subject_formatter(@message,:show)
= render :partial => 'common/main_navigation', :locals => { :show => :active }
2012-03-26 20:22:01 +02:00
%form{:class=>"form-horizontal top-pix18",:action=>"#{messages_ops_single_path}",:method=>"post"}
2012-03-24 13:23:34 +01:00
= render :partial => 'header'
= render :partial => 'single_ops'
- if not @attachments.size.zero?
= render :partial => 'attachments'
- if not @images.size.zero?
2012-03-30 19:31:23 +02:00
= render :partial => 'images'
2012-03-24 13:23:34 +01:00
- if not @html_part.nil?
= render :partial => 'html_part'
- else
- if @text_part.nil?
.alert
= t(:no_content,:scope => :message)
- else
2012-03-30 19:31:23 +02:00
.well
= body_formatter(@text_part,:plain)
2012-03-24 13:23:34 +01:00