A platform for community discussion. Free, open, simple.
DEV: Rename `hilight` to `highlight` (#13526)
Jarek Radosz61472d6aaa61
diff --git a/app/mailers/user_notifications.rb b/app/mailers/user_notifications.rbindex e7c88292142..31336ce6c5f 100644--- a/app/mailers/user_notifications.rb+++ b/app/mailers/user_notifications.rb@@ -662,7 +662,7 @@ class UserNotifications < ActionMailer::Basemessage = 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 = ""enddiff --git a/lib/email/styles.rb b/lib/email/styles.rbindex 73c6e08329c..7546740cd0f 100644--- a/lib/email/styles.rb+++ b/lib/email/styles.rb@@ -185,7 +185,7 @@ module Emaildef format_htmlcorrect_first_body_margincorrect_footer_style- correct_footer_style_hilight_first+ correct_footer_style_highlight_firstreset_tableshtml_lang = SiteSetting.default_locale.sub("_", "-")@@ -376,9 +376,9 @@ module Emailendend- def correct_footer_style_hilight_first+ def correct_footer_style_highlight_firstfooternum = 0- @fragment.css('.footer.hilight').each do |element|+ @fragment.css('.footer.highlight').each do |element|linknum = 0element.css('a').each do |inner|# we want the first footer link to be specially highlighted as IMPORTANT