Merge branch 'non-anonymous-polls' into 'develop'

Inform users that Smithereen public polls are public

See merge request pleroma/pleroma-fe!1932
This commit is contained in:
HJ 2024-09-21 08:19:16 +00:00
commit 9e65b17644
3 changed files with 11 additions and 1 deletions

View file

@ -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 }) }}