2016-02-19 21:05:36 +00:00
|
|
|
<style type="text/css">
|
|
|
|
blockquote {
|
|
|
|
border-left: 2px solid blue;
|
|
|
|
padding-left: 1em;
|
|
|
|
}
|
|
|
|
.header {
|
|
|
|
color: #aaaaaa;
|
|
|
|
border-bottom-style:solid;
|
|
|
|
border-bottom-width:1px;
|
|
|
|
border-bottom-color:#aaaaaa;
|
|
|
|
width: 100%;
|
|
|
|
max-width: 600px;
|
|
|
|
padding-bottom: 6px;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
padding-top: 6px;
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
.footer {
|
2017-09-05 09:49:32 +00:00
|
|
|
font-size: 10px;
|
2016-02-19 21:05:36 +00:00
|
|
|
color: #aaaaaa;
|
|
|
|
border-top-style:solid;
|
|
|
|
border-top-width:1px;
|
|
|
|
border-top-color:#aaaaaa;
|
|
|
|
width: 100%;
|
|
|
|
max-width: 600px;
|
|
|
|
padding-top: 6px;
|
|
|
|
margin-top: 16px;
|
|
|
|
padding-botton: 6px;
|
|
|
|
}
|
|
|
|
.footer a {
|
|
|
|
color: #aaaaaa;
|
|
|
|
}
|
|
|
|
</style>
|
2016-04-13 23:40:37 +00:00
|
|
|
<% if @objects[:standalone] != true %>
|
2016-02-19 21:05:36 +00:00
|
|
|
<div class="header">
|
|
|
|
<%= c 'product_name' %> <%= t 'Notification' %>
|
|
|
|
</div>
|
2016-04-13 23:40:37 +00:00
|
|
|
<% end %>
|
2016-02-19 21:05:36 +00:00
|
|
|
|
|
|
|
<%= d 'message', false %>
|
|
|
|
|
2016-04-13 23:40:37 +00:00
|
|
|
<% if @objects[:standalone] != true %>
|
2016-02-19 21:05:36 +00:00
|
|
|
<div class="footer">
|
2017-09-05 09:49:32 +00:00
|
|
|
<% if @objects[:reason] %>
|
|
|
|
<% reason = t('You are receiving this because you "%s".') %>
|
|
|
|
<% reason_item = t (@objects[:reason]) %>
|
|
|
|
<% reason.gsub!('%s', reason_item) %>
|
|
|
|
<%= reason %> |
|
|
|
|
<% end %>
|
2021-12-16 13:42:09 +00:00
|
|
|
<a href="<%= c 'http_type' %>://<%= c 'fqdn' %>/#profile/notifications"><%= t 'Manage your notification settings' %></a>
|
2017-09-05 09:49:32 +00:00
|
|
|
<% if c('organization').present? %>| <%= c 'organization' %><% end %>
|
2016-04-13 23:40:37 +00:00
|
|
|
</div>
|
|
|
|
<% end %>
|