Show more features in their block
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Mint 2023-02-05 01:29:19 +03:00 committed by Sam Therapy
parent 7ad4e2d2b1
commit e148ff47ab
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD
3 changed files with 10 additions and 0 deletions

View file

@ -5,6 +5,8 @@ const FeaturesPanel = {
shout: function () { return this.$store.state.instance.shoutAvailable },
pleromaChatMessages: function () { return this.$store.state.instance.pleromaChatMessagesAvailable },
gopher: function () { return this.$store.state.instance.gopherAvailable },
quotePosts: function () { return this.$store.state.instance.quotepostsAvailable },
customReacts: function () { return this.$store.state.instance.customReactsAvailable },
whoToFollow: function () { return this.$store.state.instance.suggestionsEnabled },
mediaProxy: function () { return this.$store.state.instance.mediaProxyAvailable },
minimalScopesMode: function () { return this.$store.state.instance.minimalScopesMode },

View file

@ -17,6 +17,12 @@
<li v-if="gopher">
{{ $t('features_panel.gopher') }}
</li>
<li v-if="quotePosts">
{{ $t('features_panel.quote_posts') }}
</li>
<li v-if="customReacts">
{{ $t('features_panel.custom_reacts') }}
</li>
<li v-if="whoToFollow">
{{ $t('features_panel.who_to_follow') }}
</li>

View file

@ -72,6 +72,8 @@
"shout": "Shoutbox",
"pleroma_chat_messages": "Pleroma Chat",
"gopher": "Gopher",
"quote_posts": "Quote posts",
"custom_reacts": "Custom emoji reactions",
"media_proxy": "Media proxy",
"scope_options": "Scope options",
"text_limit": "Text limit",