From 5cdd1466c452dae41140809f26bd171becf2e74b Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sun, 20 Nov 2022 08:30:19 -0800 Subject: [PATCH] fix: add a dot after the profile name --- src/routes/accounts/[accountId]/followers.html | 5 +++-- src/routes/accounts/[accountId]/follows.html | 5 +++-- src/routes/accounts/[accountId]/index.html | 5 +++-- src/routes/accounts/[accountId]/media.html | 5 +++-- src/routes/accounts/[accountId]/with_replies.html | 5 +++-- 5 files changed, 15 insertions(+), 10 deletions(-) diff --git a/src/routes/accounts/[accountId]/followers.html b/src/routes/accounts/[accountId]/followers.html index b9b09985..b4a89768 100644 --- a/src/routes/accounts/[accountId]/followers.html +++ b/src/routes/accounts/[accountId]/followers.html @@ -1,4 +1,5 @@ - +<!-- TODO: this should probably be formatted as intl rather than concatenated --> +<Title name="{profileName}{intl.followers}" /> <LazyPage {pageComponent} {params} /> @@ -18,7 +19,7 @@ }), computed: { profileName: ({ $currentAccountProfile }) => { - return ($currentAccountProfile && ('@' + $currentAccountProfile.acct)) || '' + return ($currentAccountProfile && ('@' + $currentAccountProfile.acct + ' · ')) || '' } } } diff --git a/src/routes/accounts/[accountId]/follows.html b/src/routes/accounts/[accountId]/follows.html index 82faeb57..328fda9a 100644 --- a/src/routes/accounts/[accountId]/follows.html +++ b/src/routes/accounts/[accountId]/follows.html @@ -1,4 +1,5 @@ -<Title name="{profileName} {intl.follows}" /> +<!-- TODO: this should probably be formatted as intl rather than concatenated --> +<Title name="{profileName}{intl.follows}" /> <LazyPage {pageComponent} {params} /> @@ -18,7 +19,7 @@ }), computed: { profileName: ({ $currentAccountProfile }) => { - return ($currentAccountProfile && ('@' + $currentAccountProfile.acct)) || '' + return ($currentAccountProfile && ('@' + $currentAccountProfile.acct + ' · ')) || '' } } } diff --git a/src/routes/accounts/[accountId]/index.html b/src/routes/accounts/[accountId]/index.html index ac5fdd5a..1d07ab8a 100644 --- a/src/routes/accounts/[accountId]/index.html +++ b/src/routes/accounts/[accountId]/index.html @@ -1,4 +1,5 @@ -<Title name="{profileName} {intl.profile}" /> +<!-- TODO: this should probably be formatted as intl rather than concatenated --> +<Title name="{profileName}{intl.profile}" /> <LazyPage {pageComponent} {params} /> @@ -18,7 +19,7 @@ }), computed: { profileName: ({ $currentAccountProfile }) => { - return ($currentAccountProfile && ('@' + $currentAccountProfile.acct)) || '' + return ($currentAccountProfile && ('@' + $currentAccountProfile.acct + ' · ')) || '' } } } diff --git a/src/routes/accounts/[accountId]/media.html b/src/routes/accounts/[accountId]/media.html index 339695a9..85cd789d 100644 --- a/src/routes/accounts/[accountId]/media.html +++ b/src/routes/accounts/[accountId]/media.html @@ -1,4 +1,5 @@ -<Title name="{profileName} {intl.profileWithMedia}" /> +<!-- TODO: this should probably be formatted as intl rather than concatenated --> +<Title name="{profileName}{intl.profileWithMedia}" /> <LazyPage {pageComponent} {params} /> @@ -18,7 +19,7 @@ }), computed: { profileName: ({ $currentAccountProfile }) => { - return ($currentAccountProfile && ('@' + $currentAccountProfile.acct)) || '' + return ($currentAccountProfile && ('@' + $currentAccountProfile.acct + ' · ')) || '' } } } diff --git a/src/routes/accounts/[accountId]/with_replies.html b/src/routes/accounts/[accountId]/with_replies.html index c3add193..50fa2c1a 100644 --- a/src/routes/accounts/[accountId]/with_replies.html +++ b/src/routes/accounts/[accountId]/with_replies.html @@ -1,4 +1,5 @@ -<Title name="{profileName} {intl.profileWithReplies}" /> +<!-- TODO: this should probably be formatted as intl rather than concatenated --> +<Title name="{profileName}{intl.profileWithReplies}" /> <LazyPage {pageComponent} {params} /> @@ -18,7 +19,7 @@ }), computed: { profileName: ({ $currentAccountProfile }) => { - return ($currentAccountProfile && ('@' + $currentAccountProfile.acct)) || '' + return ($currentAccountProfile && ('@' + $currentAccountProfile.acct + ' · ')) || '' } } }