Added tertiary color to digest

Added hash to color in helper

Added anchor_color to topic and site name links

Styled the unsubscribe link
This commit is contained in:
Joe Buhlig
2016-02-12 11:09:29 -06:00
parent 6fc2d9db3a
commit 6763a9923a
3 changed files with 10 additions and 9 deletions

View File

@ -28,8 +28,8 @@ module UserNotificationsHelper
logo_url
end
def html_site_link
"<a href='#{Discourse.base_url}'>#{@site_name}</a>"
def html_site_link(color)
"<a href='#{Discourse.base_url}' style='color: ##{color}'>#{@site_name}</a>"
end
def first_paragraph_from(html)