Merge remote-tracking branch 'parent/main' into upstream-20241021
This commit is contained in:
commit
ab58aed910
279 changed files with 2761 additions and 1351 deletions
|
@ -267,6 +267,11 @@ module ApplicationHelper
|
|||
tag.input(type: :text, maxlength: 999, spellcheck: false, readonly: true, **options)
|
||||
end
|
||||
|
||||
def recent_tag_usage(tag)
|
||||
people = tag.history.aggregate(2.days.ago.to_date..Time.zone.today).accounts
|
||||
I18n.t 'user_mailer.welcome.hashtags_recent_count', people: number_with_delimiter(people), count: people
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def storage_host_var
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue