Fix hashtag string interpolation in welcome email (#29879)
This commit is contained in:
parent
13faf26315
commit
f3430eebbb
1 changed files with 2 additions and 1 deletions
|
@ -17,4 +17,5 @@
|
||||||
%span.email-mini-hashtag-img-span
|
%span.email-mini-hashtag-img-span
|
||||||
= image_tag full_asset_url(account.avatar.url), alt: '', width: 16, height: 16
|
= image_tag full_asset_url(account.avatar.url), alt: '', width: 16, height: 16
|
||||||
%td
|
%td
|
||||||
%p= t('user_mailer.welcome.hashtags_recent_count', people: number_with_delimiter(hashtag.history.aggregate(2.days.ago.to_date..Time.zone.today).accounts))
|
- people = hashtag.history.aggregate(2.days.ago.to_date..Time.zone.today).accounts
|
||||||
|
%p= t('user_mailer.welcome.hashtags_recent_count', people: number_with_delimiter(people), count: people)
|
||||||
|
|
Loading…
Reference in a new issue