Sha256: 6a098248ea3ab52123dac5e3f170f16aabc8a3761546dac56c90534d48377659

Contents?: true

Size: 1.8 KB

Versions: 56

Compression:

Stored size: 1.8 KB

Contents

<% self.class.send :include, Mailboxer::NotificationDecoder  %>
<!DOCTYPE html>
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
  </head>
  <body>
    <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;">
          <%if @notification.notified_object.nil? %>
            <img src="http://<%= ActionMailer::Base.default_url_options[:host] +User.new.logo.url(:profile)%>" >
          <%else%>
            <img src="http://<%= ActionMailer::Base.default_url_options[:host] +@notification.notified_object.sender.logo.url(:profile)%>" alt="<%=@notification.notified_object.sender.name%>">
          <%end%>
        </div>
        <div style=" margin: 5px 5px 5px 5px;">
          <p style="font-weight: bold; "><%= @notification.notified_object.sender.name %>
            <% if @notification.notified_object.sender.profile.organization? %>
              <br/><span style="color: #6C6D6F; font-weight: normal;"><%= @notification.notified_object.sender.profile.organization%></span>
            <% end %>
          </p>
          <p>
            <%= strip_tags decode_notification @notification.subject,@notification.notified_object %>
          </p>       
          <p style="text-align: justify; font-style: italic;">
            <%= raw decode_notification @notification.body,@notification.notified_object %>
          </p>
        </div>
      </div>
      <div style="padding: 10px 5px 5px 5px;">    
        <p>
          Visit <%= link_to notifications_url,notifications_url %> and check all your notifications. 
        </p>
      </div>
    </div>
  </body>
</html>

Version data entries

56 entries across 56 versions & 2 rubygems

Version Path
social_stream-0.12.4 base/app/views/notification_mailer/new_notification_email.html.erb
social_stream-base-0.9.27 app/views/notification_mailer/new_notification_email.html.erb
social_stream-0.12.3 base/app/views/notification_mailer/new_notification_email.html.erb
social_stream-base-0.9.26 app/views/notification_mailer/new_notification_email.html.erb
social_stream-0.12.2 base/app/views/notification_mailer/new_notification_email.html.erb
social_stream-base-0.9.25 app/views/notification_mailer/new_notification_email.html.erb
social_stream-0.12.1 base/app/views/notification_mailer/new_notification_email.html.erb
social_stream-base-0.9.24 app/views/notification_mailer/new_notification_email.html.erb
social_stream-0.12.0 base/app/views/notification_mailer/new_notification_email.html.erb
social_stream-base-0.9.23 app/views/notification_mailer/new_notification_email.html.erb
social_stream-0.11.8 base/app/views/notification_mailer/new_notification_email.html.erb
social_stream-base-0.9.22 app/views/notification_mailer/new_notification_email.html.erb
social_stream-0.11.7 base/app/views/notification_mailer/new_notification_email.html.erb
social_stream-base-0.9.21 app/views/notification_mailer/new_notification_email.html.erb
social_stream-0.11.6 base/app/views/notification_mailer/new_notification_email.html.erb
social_stream-base-0.9.20 app/views/notification_mailer/new_notification_email.html.erb
social_stream-0.11.5 base/app/views/notification_mailer/new_notification_email.html.erb
social_stream-0.11.4 base/app/views/notification_mailer/new_notification_email.html.erb
social_stream-0.11.3 base/app/views/notification_mailer/new_notification_email.html.erb
social_stream-base-0.9.19 app/views/notification_mailer/new_notification_email.html.erb