From 6fb9fea74f4b6103d6ad22feffa4c17c4a3c4587 Mon Sep 17 00:00:00 2001 From: KMY Date: Mon, 9 Sep 2024 08:36:38 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20=E3=83=97=E3=83=AD=E3=83=95=E3=82=A3?= =?UTF-8?q?=E3=83=BC=E3=83=AB=E8=A8=AD=E5=AE=9A=E3=81=A7=E3=83=95=E3=82=A9?= =?UTF-8?q?=E3=83=AD=E3=83=BC=E6=95=B0=E3=81=AA=E3=81=A9=E3=81=AE=E6=95=B0?= =?UTF-8?q?=E5=AD=97=E3=82=92=E9=9A=A0=E3=81=97=E3=81=A6=E3=81=84=E3=81=A6?= =?UTF-8?q?=E3=82=82=E3=80=81=E8=AA=B0=E3=81=8B=E3=82=92=E3=83=95=E3=82=A9?= =?UTF-8?q?=E3=83=AD=E3=83=BC=E3=81=97=E3=81=9F=E6=99=82=E3=81=AB=E3=83=95?= =?UTF-8?q?=E3=82=A9=E3=83=AD=E3=83=BC=E7=9B=B8=E6=89=8B=E3=81=AB=E3=83=A1?= =?UTF-8?q?=E3=83=BC=E3=83=AB=E3=81=A7=E6=95=B0=E5=AD=97=E3=81=8C=E9=80=9A?= =?UTF-8?q?=E7=9F=A5=E3=81=95=E3=82=8C=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/application/mailer/_account.html.haml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/application/mailer/_account.html.haml b/app/views/application/mailer/_account.html.haml index 27493f770dc006..e9577fa90dd8d1 100644 --- a/app/views/application/mailer/_account.html.haml +++ b/app/views/application/mailer/_account.html.haml @@ -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)