FIX: do not raise error if tertiary color not found while sending digests

This commit is contained in:
Arpit Jalan 2016-04-28 22:03:28 +05:30
parent 8837906907
commit 2a2b0d7803
1 changed files with 1 additions and 1 deletions

View File

@ -74,5 +74,5 @@
<div class='footer'>
<%=raw(t 'user_notifications.digest.unsubscribe',
site_link: html_site_link(@anchor_color),
unsubscribe_link: link_to(t('user_notifications.digest.click_here'), email_unsubscribe_url(host: Discourse.base_url_no_prefix, key: @unsubscribe_key), {:style=>'color: #' + @anchor_color })) %>
unsubscribe_link: link_to(t('user_notifications.digest.click_here'), email_unsubscribe_url(host: Discourse.base_url_no_prefix, key: @unsubscribe_key), {:style=>"color: ##{@anchor_color}"})) %>
</div>