1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-03-14 21:18:14 +00:00
Jean-Philippe Lang 9b43057aa8 added simple message browsing functionality
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@266 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-02-25 13:57:24 +00:00

17 lines
741 B
Plaintext

<h2><%=h @message.mailing_list.name %>: <%=h @message.subject %></h2>
<p><em><%= @message.from %>, <%= format_time(@message.sent_on) %></em></p>
<ul>
<% if @message.parent %>
<li><%= l(:label_in_reply_to) %>: <%= link_to @message.parent.subject, :controller => 'mailing_messages', :action => 'show', :id => @message.parent %> <em><%= @message.parent.from %> - <%= format_time(@message.parent.sent_on) %></em></li>
<% end %>
<% unless @message.children.empty? %>
<li><%= l(:label_reply_plural) %>:
<%= render :partial => 'mailing_lists/thread', :locals => {:messages => @message.children} %>
</li>
<% end %>
</ul>
<div class="box">
<%= simple_format(auto_link(h(@message.body))) %>
</div>