mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 17:02:45 +08:00
UX: Make category link text black in digest emails
This commit is contained in:
parent
6ab1720779
commit
72efcc8e86
|
@ -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;'> </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;'> </a>"
|
||||
|
|
Loading…
Reference in New Issue
Block a user