2011-08-02 23:12:17 +02:00
|
|
|
<% content_for :sidebar do %>
|
|
|
|
<%= render :partial => 'folders/list' %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<% content_for :title do %>
|
2011-09-03 13:07:40 +02:00
|
|
|
- <%= show_subject_formatter(@subject) %>
|
2011-08-02 23:12:17 +02:00
|
|
|
<% 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 %>
|
|
|
|
|
2011-09-03 13:07:40 +02:00
|
|
|
<% if not @images.size.zero? %>
|
|
|
|
<%= render :partial => 'images' %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<% if not @html_part.nil? %>
|
2011-08-27 22:00:06 +02:00
|
|
|
<%= render :partial => 'html_part' %>
|
2011-08-24 19:20:13 +02:00
|
|
|
<% else %>
|
|
|
|
<div class="render_text">
|
2011-09-03 13:07:40 +02:00
|
|
|
<% if @text_part.nil? %>
|
2011-08-24 19:20:13 +02:00
|
|
|
<p>
|
|
|
|
<%= t(:no_content,:scope => :message) %>
|
|
|
|
</p>
|
|
|
|
<% else %>
|
2011-09-03 13:07:40 +02:00
|
|
|
<%= raw content_text_plain_for_render(@text_part) %>
|
2011-08-24 19:20:13 +02:00
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
</form>
|
2011-08-02 23:12:17 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|