aboutsummaryrefslogtreecommitdiff
path: root/src/components/poll/poll.vue
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2024-09-21 08:19:16 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2024-09-21 08:19:16 +0000
commit9e65b176447f7e125ed4e792110e21eb7c3ef21e (patch)
tree92a6439069b62fe27684adaff9908abce7acd4ae /src/components/poll/poll.vue
parentf127ae307b3a444f13c6f8b75ba99cf61244677e (diff)
parent0878f5bfb43bdc52d72968cbd7bf343e2ec6460d (diff)
Merge branch 'non-anonymous-polls' into 'develop'
Inform users that Smithereen public polls are public See merge request pleroma/pleroma-fe!1932
Diffstat (limited to 'src/components/poll/poll.vue')
-rw-r--r--src/components/poll/poll.vue7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/components/poll/poll.vue b/src/components/poll/poll.vue
index 580e5377..e12f3e61 100644
--- a/src/components/poll/poll.vue
+++ b/src/components/poll/poll.vue
@@ -76,6 +76,13 @@
>
{{ $t('polls.vote') }}
</button>
+ <span
+ v-if="poll.pleroma?.non_anonymous"
+ :title="$t('polls.non_anonymous_title')"
+ >
+ {{ $t('polls.non_anonymous') }}
+ &nbsp;ยท&nbsp;
+ </span>
<div class="total">
<template v-if="typeof poll.voters_count === 'number'">
{{ $tc("polls.people_voted_count", poll.voters_count, { count: poll.voters_count }) }}