Sha256: ab3272965f3d769609c4676659eb94796b31e8070044a2f96ea92aac6f3252c6

Contents?: true

Size: 1012 Bytes

Versions: 1

Compression:

Stored size: 1012 Bytes

Contents

<%= div_for (conversation) do %>
<h3>
	<%= link_to(conversation.subject, mailbox_conversation_path(conversation.id,:box => params[:id])) %>
	<% unless params[:id].present? and params[:id].eql?'trash' %>
		<%= link_to ( image_tag('btn/btn_delete.png', :atl => "Delete", :title => "Delete"), 
			mailbox_conversation_path(conversation, :location => params[:id]), 
			:confirm => 'Do you want to move "' + conversation.subject + '" to trash?', 
			:method => :delete, :remote => true) %>
    <% end %>
</h3>
<%= conversation.updated_at %>
<br>
<b>From:</b><br>
<%= link_to image_tag(conversation.last_sender.logo.url(:actor), 
:title => conversation.last_sender.name, :alt => conversation.last_sender.name),
conversation.last_sender.subject
 %><br>
<b>To:</b><br>
<% conversation.get_recipients.each do |recp| %>
	<%next if Actor.normalize(conversation.last_sender)==Actor.normalize(recp)%>
	<%= link_to image_tag(recp.logo.url(:tie), :atl => recp.name, :title => recp.name), recp.subject %>
<% end %><br>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
social_stream-0.4.0 app/views/mailbox/_conversation.html.erb