mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 14:03:39 +08:00
DEV: Rename hilight
to highlight
(#13526)
This commit is contained in:
parent
b4f0a0fb94
commit
61472d6aaa
|
@ -662,7 +662,7 @@ class UserNotifications < ActionMailer::Base
|
|||
message = email_post_markdown(post) + (reached_limit ? "\n\n#{I18n.t "user_notifications.reached_limit", count: SiteSetting.max_emails_per_day_per_user}" : "")
|
||||
end
|
||||
|
||||
first_footer_classes = "hilight"
|
||||
first_footer_classes = "highlight"
|
||||
if (allow_reply_by_email && user.staged) || (user.suspended? || user.staged?)
|
||||
first_footer_classes = ""
|
||||
end
|
||||
|
|
|
@ -185,7 +185,7 @@ module Email
|
|||
def format_html
|
||||
correct_first_body_margin
|
||||
correct_footer_style
|
||||
correct_footer_style_hilight_first
|
||||
correct_footer_style_highlight_first
|
||||
reset_tables
|
||||
|
||||
html_lang = SiteSetting.default_locale.sub("_", "-")
|
||||
|
@ -376,9 +376,9 @@ module Email
|
|||
end
|
||||
end
|
||||
|
||||
def correct_footer_style_hilight_first
|
||||
def correct_footer_style_highlight_first
|
||||
footernum = 0
|
||||
@fragment.css('.footer.hilight').each do |element|
|
||||
@fragment.css('.footer.highlight').each do |element|
|
||||
linknum = 0
|
||||
element.css('a').each do |inner|
|
||||
# we want the first footer link to be specially highlighted as IMPORTANT
|
||||
|
|
Loading…
Reference in New Issue
Block a user