Make interact buttons accessible for anonymous users

This commit is contained in:
Tusooa Zhu 2022-01-16 01:19:52 -05:00 committed by tusooa
parent 0d6435261e
commit 68110ce825
No known key found for this signature in database
GPG Key ID: 7B467EDE43A08224
3 changed files with 37 additions and 15 deletions

View File

@ -38,13 +38,20 @@
class="button-unstyled interactive" class="button-unstyled interactive"
target="_blank" target="_blank"
role="button" role="button"
:title="$t('tool_tip.favorite')"
:href="remoteInteractionLink" :href="remoteInteractionLink"
> >
<FAIcon <FALayers class="fa-scale-110 fa-old-padding-layer">
class="fa-scale-110 fa-old-padding" <FAIcon
:title="$t('tool_tip.favorite')" class="fa-scale-110"
:icon="['far', 'star']" :icon="['far', 'star']"
/> />
<FAIcon
class="focus-marker"
transform="shrink-6 up-9 right-12"
icon="plus"
/>
</FALayers>
</a> </a>
<span <span
v-if="!mergedConfig.hidePostStats && status.fave_num > 0" v-if="!mergedConfig.hidePostStats && status.fave_num > 0"

View File

@ -32,12 +32,20 @@
target="_blank" target="_blank"
role="button" role="button"
:href="remoteInteractionLink" :href="remoteInteractionLink"
:title="$t('tool_tip.reply')"
> >
<FAIcon <FALayers class="fa-old-padding-layer">
icon="reply" <FAIcon
class="fa-scale-110 fa-old-padding" class="fa-scale-110"
:title="$t('tool_tip.reply')" icon="reply"
/> />
<FAIcon
v-if="!replying"
class="focus-marker"
transform="shrink-6 up-8 right-16"
icon="plus"
/>
</FALayers>
</a> </a>
<span <span
v-if="status.replies_count > 0" v-if="status.replies_count > 0"

View File

@ -45,13 +45,20 @@
class="button-unstyled interactive" class="button-unstyled interactive"
target="_blank" target="_blank"
role="button" role="button"
:title="$t('tool_tip.repeat')"
:href="remoteInteractionLink" :href="remoteInteractionLink"
> >
<FAIcon <FALayers class="fa-old-padding-layer">
class="fa-scale-110 fa-old-padding" <FAIcon
icon="retweet" class="fa-scale-110"
:title="$t('tool_tip.repeat')" icon="retweet"
/> />
<FAIcon
class="focus-marker"
transform="shrink-6 up-9 right-12"
icon="plus"
/>
</FALayers>
</a> </a>
<span <span
v-if="!mergedConfig.hidePostStats && status.repeat_num > 0" v-if="!mergedConfig.hidePostStats && status.repeat_num > 0"