Sha256: 16173b75e3a695e27fba3ae68e9555bb25b9fc1f61cd6c096da51122d2923157

Contents?: true

Size: 1.63 KB

Versions: 104

Compression:

Stored size: 1.63 KB

Contents

<% self.class.send :include, SubjectsHelper, NotificationsHelper %>
<% locale_as @receiver.subject %>
<!DOCTYPE html>
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
  </head>
  <body>
    <div>
      <div style="padding: 10px 5px 5px 5px;">
        <span style="font-weight: bold;"><%= truncate_name(@message.sender.name)%></span>
        <%= t('mailboxer.message_mailer.has_sent_new.' + @receiver.subject.class.to_s.downcase, :receiver => @receiver.name) %>
      </div>
      <div style="position: static;padding: 5px; border: #2A3890 solid 2px; background-color: #E1EEF5; margin:10px; min-height: 125px; width: 500px;">
        <div style="float:left; margin-right:7px; border: thin solid #D4E4EA; background-color: white; max-height: 119px;">
          <img src="http://<%= ActionMailer::Base.default_url_options[:host] +@message.sender.logo.url(:profile)%>" alt="<%=@message.sender.name%>">
        </div>
        <div style=" margin: 5px 5px 5px 5px;">
          <p style="font-weight: bold; "><%= @message.sender.name %>
            <% if @message.sender.profile.organization? %>
              <br/><span style="color: #6C6D6F; font-weight: normal;"><%= @message.sender.profile.organization%></span>
            <% end %>
          </p>       
          <p style="text-align: justify; font-style: italic;">
            <%= raw @message.body %>
          </p>
        </div>
      </div>
      <div style="padding: 10px 5px 5px 5px;">    
        <p>
          <%= link_to((t('message.look')+" at "+t('site.name')), conversation_url(@message.conversation))%> 
        </p>
      </div>
    </div>
  </body>
</html>

Version data entries

104 entries across 104 versions & 2 rubygems

Version Path
social_stream-0.21.1 base/app/views/message_mailer/new_message_email.html.erb
social_stream-base-0.16.1 app/views/message_mailer/new_message_email.html.erb
social_stream-0.21.0 base/app/views/message_mailer/new_message_email.html.erb
social_stream-base-0.16.0 app/views/message_mailer/new_message_email.html.erb
social_stream-0.20.2 base/app/views/message_mailer/new_message_email.html.erb
social_stream-base-0.15.2 app/views/message_mailer/new_message_email.html.erb
social_stream-0.20.1 base/app/views/message_mailer/new_message_email.html.erb
social_stream-base-0.15.1 app/views/message_mailer/new_message_email.html.erb
social_stream-0.20.0 base/app/views/message_mailer/new_message_email.html.erb
social_stream-base-0.15.0 app/views/message_mailer/new_message_email.html.erb
social_stream-0.19.3 base/app/views/message_mailer/new_message_email.html.erb
social_stream-base-0.14.3 app/views/message_mailer/new_message_email.html.erb
social_stream-0.19.2 base/app/views/message_mailer/new_message_email.html.erb
social_stream-base-0.14.2 app/views/message_mailer/new_message_email.html.erb
social_stream-0.19.1 base/app/views/message_mailer/new_message_email.html.erb
social_stream-base-0.14.1 app/views/message_mailer/new_message_email.html.erb
social_stream-0.19.0 base/app/views/message_mailer/new_message_email.html.erb
social_stream-base-0.14.0 app/views/message_mailer/new_message_email.html.erb
social_stream-0.18.2 base/app/views/message_mailer/new_message_email.html.erb
social_stream-base-0.13.2 app/views/message_mailer/new_message_email.html.erb