Sha256: 44ae09f77b3cb670a53b31f664d6364709ca389dd473ca9a691b36f7a2b1773a
Contents?: true
Size: 1.44 KB
Versions: 176
Compression:
Stored size: 1.44 KB
Contents
<%= div_for(conversation, :class => read_class) do %> <div class="notification"> </div> <div class="sender_photo"> <%= link_to image_tag(conversation.last_sender.logo.url(:actor), :title => conversation.last_sender.name, :alt => conversation.last_sender.name), conversation.last_sender.subject %> </div> <div class="content_left"> <div class="sender_name"> <%= link_to truncate_name(conversation.last_sender.name), conversation.last_sender.subject %> </div> <div class="date"> <%= t('time.ago', :time => time_ago_in_words(conversation.updated_at)) %> </div> </div> <div class="content_right"> <div class="subject"> <%= link_to(truncate(conversation.subject, :length => 55), conversation_path(conversation.id,:box => @box,:page => params[:page])) %> </div> <div class="briefing"> <%= raw(truncate(strip_tags(conversation.last_message.body), :length => 50)) %> </div> <div class="clearfloat"> </div> </div> <% unless @box.eql?'trash' %> <div class="action"> <% link_to(image_tag('btn/btn_read.png', :alt => t('mailboxer.mark_as_read'), :title => t('mailboxer.mark_as_read'))) %> <%= link_to(image_tag('btn/btn_delete.png', :alt => t('mailboxer.delete'), :title => t('mailboxer.delete')), conversation_path(conversation, :location => @box, :box => @box, :page => params[:page]), :confirm => t('mailboxer.delete_confirm', :object => conversation.subject), :method => :delete, :remote => true) %> </div> <% end %> <div class="clearfloat"> </div> <% end %>
Version data entries
176 entries across 176 versions & 4 rubygems