UX: Make category link text black in digest emails

This commit is contained in:
Robin Ward 2014-12-09 11:28:27 -05:00
parent 6ab1720779
commit 72efcc8e86
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ module UserNotificationsHelper
if opts[:only_stripe]
result << "<a href='#{category_url}' style='background-color: ##{category.color}; font-size: 12px; padding: 2px 1px; font-weight: bold; margin: 0; width: 2px; white-space:nowrap;'>&nbsp;</a>"
result << "<a href='#{category_url}' style='font-size: 12px; font-weight: bold; margin-left: 3px;'>#{category.name}</a>"
result << "<a href='#{category_url}' style='font-size: 12px; font-weight: bold; margin-left: 3px; color: #222;'>#{category.name}</a>"
else
if category.parent_category.present?
result << "<a href='#{category_url}' style='background-color: ##{category.parent_category.color}; font-size: 12px; padding: 4px 2px; font-weight: bold; margin: 0; width: 2px; white-space:nowrap;'>&nbsp;</a>"