Skip to content

Commit

Permalink
Merge commit from fork
Browse files Browse the repository at this point in the history
Fix: プロフィール設定でフォロー数などの数字を隠していても、誰かをフォローした時にフォロー相手にメールで数字が通知される
  • Loading branch information
kmycode authored Sep 10, 2024
2 parents 39e73b4 + 6fb9fea commit 778578a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/views/application/mailer/_account.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
%table.email-w-full.email-account-stats-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
%tr
%td
%b= account_formatted_stat(account.statuses_count)
%span= t('accounts.posts', count: account.statuses_count)
%b= account.hide_statuses_count? ? '-' : account_formatted_stat(account.public_statuses_count)
%span= t('accounts.posts', count: account.public_statuses_count)
%td
%b= account_formatted_stat(account.following_count)
%b= account.hide_following_count? ? '-' : account_formatted_stat(account.public_following_count)
%span= t('accounts.following')
%td
%b= account_formatted_stat(account.followers_count)
%span= t('accounts.followers', count: account.followers_count)
%b= account.hide_followers_count? ? '-' : account_formatted_stat(account.public_followers_count)
%span= t('accounts.followers', count: account.public_followers_count)

0 comments on commit 778578a

Please sign in to comment.