mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Use the header background color for a site in the digest email.
This commit is contained in:
@@ -39,6 +39,7 @@ class UserNotifications < ActionMailer::Base
|
||||
|
||||
@site_name = SiteSetting.title
|
||||
|
||||
@header_color = ColorScheme.hex_for_name('header_background')
|
||||
@last_seen_at = I18n.l(@user.last_seen_at || @user.created_at, format: :short)
|
||||
|
||||
# A list of topics to show the user
|
||||
|
||||
Reference in New Issue
Block a user