mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
FIX: Broken link in new user of the month post.
This commit is contained in:
parent
ddd07773da
commit
0abc5f90cd
@ -22,7 +22,11 @@ module Jobs
|
||||
user = User.find(user_id)
|
||||
if user.badges.where(id: Badge::NewUserOfTheMonth).blank?
|
||||
BadgeGranter.grant(badge, user)
|
||||
SystemMessage.new(user).create('new_user_of_the_month', month_year: Time.now.strftime("%B %Y"))
|
||||
|
||||
SystemMessage.new(user).create('new_user_of_the_month',
|
||||
month_year: Time.now.strftime("%B %Y"),
|
||||
url: "#{Discourse.base_url}/badges"
|
||||
)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -2412,7 +2412,7 @@ en:
|
||||
text_body_template: |
|
||||
Congratulations, you've earned the **New User of the Month award for %{month_year}**. :trophy:
|
||||
|
||||
This award is only granted to two new users per month, and it will be permanently visible on [your user page](%{base_url}/my/badges).
|
||||
This award is only granted to two new users per month, and it will be permanently visible on [the badges page](%{url}).
|
||||
|
||||
You've quickly become a valuable member of our community. Thanks for joining, and keep up the great work!
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user