From 85664ffb5403ec94da8e44b9a67fb55a92465599 Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Wed, 18 Mar 2020 21:46:14 +0300 Subject: [PATCH] Display status count by visibility scope --- src/lang/en.js | 8 ++++++-- src/views/statuses/index.vue | 16 +++++++++++++--- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/src/lang/en.js b/src/lang/en.js index 8b8e9ff7..7311c097 100644 --- a/src/lang/en.js +++ b/src/lang/en.js @@ -241,12 +241,16 @@ export default { resendConfirmation: 'Resend confirmation email' }, statuses: { - statuses: 'Statuses by instance', + statuses: 'Statuses', instanceFilter: 'Instance filter', loadMore: 'Load more', noInstances: 'No other instances found', onlyLocalStatuses: 'Show only local statuses', - showPrivateStatuses: 'Show private statuses' + showPrivateStatuses: 'Show private statuses', + direct: 'Direct', + private: 'Private', + public: 'Public', + unlisted: 'Unlisted' }, userProfile: { tags: 'Tags', diff --git a/src/views/statuses/index.vue b/src/views/statuses/index.vue index 74e3f55b..88bfab6c 100644 --- a/src/views/statuses/index.vue +++ b/src/views/statuses/index.vue @@ -3,6 +3,12 @@

{{ $t('statuses.statuses') }}

+ + {{ $t('statuses.direct') }}: {{ statusVisibility.direct }} + {{ $t('statuses.private') }}: {{ statusVisibility.private }} + {{ $t('statuses.public') }}: {{ statusVisibility.public }} + {{ $t('statuses.unlisted') }}: {{ statusVisibility.unlisted }} +
.statuses-container { padding: 0 15px; + h1 { + margin: 10px 0 15px 0; + } .status-container { margin: 0 0 10px; } @@ -163,9 +176,6 @@ export default { padding: 15px 0; text-align: center; } -h1 { - margin: 22px 0 0 0; -} @media only screen and (max-width:480px) { .checkbox-container {