mailr/themes/olive/views/messages/show.html.erb

44 lines
1.2 KiB
Plaintext
Raw Normal View History

2011-08-02 23:12:17 +02:00
<% content_for :sidebar do %>
<%= render :partial => 'folders/list' %>
<% end %>
<% content_for :title do %>
- <%= @message.subject %>
<% end %>
<div class="block" id="block-tables">
<div class="secondary-navigation">
<%= raw main_navigation(:show) %>
</div>
<div class="content">
2011-08-24 19:20:13 +02:00
<%= form_tag(messages_msgops_path)%>
<%= render :partial => 'header' %>
<%= render :partial => 'msg_ops' %>
<% if not @attachments.size.zero? %>
<%= render :partial => 'attachments' %>
<% end %>
<% if not @render_rich.nil? %>
<%= render :partial => 'body' ,:object => @render_body %>
<% else %>
<div class="render_text">
<span><%= t(:content,:scope=>:message) %></span>
<% if @render_as_text.size.zero? %>
<p>
<%= t(:no_content,:scope => :message) %>
</p>
<% else %>
<% @render_as_text.each do |r| %>
<%= raw content_text_plain_for_render(r) %>
<% end %>
<% end %>
</div>
<% end %>
</form>
2011-08-02 23:12:17 +02:00
</div>
</div>