add dimmed color to digest footer

This commit is contained in:
Jeff Atwood 2013-08-15 15:17:39 -07:00
parent c5c29e9c4c
commit 8303f48004
2 changed files with 3 additions and 2 deletions

View File

@ -35,9 +35,9 @@
<%= raw(@markdown_linker.references) %>
<%=raw(t :'user_notifications.digest.unsubscribe',
<div class='footer-notice'><%=raw(t :'user_notifications.digest.unsubscribe',
site_link: site_link,
unsubscribe_link: raw(@markdown_linker.create(t('user_notifications.digest.click_here'), email_unsubscribe_path(key: @user.temporary_key)))) %>
unsubscribe_link: raw(@markdown_linker.create(t('user_notifications.digest.click_here'), email_unsubscribe_path(key: @user.temporary_key)))) %></div>
<%= raw(@markdown_linker.references) %>

View File

@ -54,6 +54,7 @@ module Email
style('li', 'padding-bottom: 10px')
style('div.digest-post', 'margin-left: 15px; margin-top: 20px; max-width: 694px;')
style('div.digest-post h1', 'font-size: 20px;')
style('div.footer-notice', 'color:#666;')
@fragment.css('pre').each do |pre|
pre.replace(pre.text)