1
0
Fork 0
forked from gitea/nas

Merge remote-tracking branch 'parent/main' into upstream-20240304

This commit is contained in:
KMY 2024-03-04 10:37:41 +09:00
commit 42b5727723
147 changed files with 1529 additions and 958 deletions

View file

@ -135,6 +135,12 @@ class UserMailer < Devise::Mailer
return unless @resource.active_for_authentication?
@suggestions = AccountSuggestions.new(@resource.account).get(5)
@tags = Trends.tags.query.allowed.limit(5)
@has_account_fields = @resource.account.display_name.present? || @resource.account.note.present? || @resource.account.avatar.present?
@has_active_relationships = @resource.account.active_relationships.exists?
@has_statuses = @resource.account.statuses.exists?
I18n.with_locale(locale) do
mail subject: default_i18n_subject
end