Sha256: a8a40922b83711aaf9146a340abd16d60af2681e274ba9342085ebca10e17b69

Contents?: true

Size: 1.79 KB

Versions: 6

Compression:

Stored size: 1.79 KB

Contents

<% self.class.send :include, NotificationsHelper %>
<!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

6 entries across 6 versions & 1 rubygems

Version Path
social_stream-base-0.7.10 app/views/notification_mailer/new_notification_email.html.erb
social_stream-base-0.7.9 app/views/notification_mailer/new_notification_email.html.erb
social_stream-base-0.7.8 app/views/notification_mailer/new_notification_email.html.erb
social_stream-base-0.7.7 app/views/notification_mailer/new_notification_email.html.erb
social_stream-base-0.7.6 app/views/notification_mailer/new_notification_email.html.erb
social_stream-base-0.7.5 app/views/notification_mailer/new_notification_email.html.erb