aboutsummaryrefslogtreecommitdiff
path: root/src/components/retweet_button/retweet_button.vue
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2022-11-21 19:34:19 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2022-11-21 19:34:19 +0000
commit513b81a23bd3d6aa308f538a2705d690fe90dc40 (patch)
treee4a815ae42241e2a6b02fbf4251db1f0bde65bf7 /src/components/retweet_button/retweet_button.vue
parent8a87d82b7baf6cd8c4d1f33ee04d9fa1a25ae825 (diff)
parentd30e39ca32caf33ccaef7ec1b1c2756456bdb0e0 (diff)
Merge branch 'from/develop/tusooa/remote-xact' into 'develop'
Remote interaction with posts: frontend part See merge request pleroma/pleroma-fe!1419
Diffstat (limited to 'src/components/retweet_button/retweet_button.vue')
-rw-r--r--src/components/retweet_button/retweet_button.vue10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/components/retweet_button/retweet_button.vue b/src/components/retweet_button/retweet_button.vue
index 396d1200..240828e3 100644
--- a/src/components/retweet_button/retweet_button.vue
+++ b/src/components/retweet_button/retweet_button.vue
@@ -40,13 +40,19 @@
:title="$t('timeline.no_retweet_hint')"
/>
</span>
- <span v-else>
+ <a
+ v-else
+ class="button-unstyled interactive"
+ target="_blank"
+ role="button"
+ :href="remoteInteractionLink"
+ >
<FAIcon
class="fa-scale-110 fa-old-padding"
icon="retweet"
:title="$t('tool_tip.repeat')"
/>
- </span>
+ </a>
<span
v-if="!mergedConfig.hidePostStats && status.repeat_num > 0"
class="no-event"