diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2023-11-10 13:31:45 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2023-11-10 13:31:45 +0000 |
| commit | 60cb173b61a9ffa4336a0ace7c90622834efd98e (patch) | |
| tree | e93c8fcd0e2b99233659c0f3d204bce4bf13fb68 /src/components/status/status.vue | |
| parent | 954d03150f1dc097b9950cfef2fed2e4f55b6442 (diff) | |
| parent | 55d4ea3643a3bdb9e350c559d2d9a5f8608a7910 (diff) | |
Merge branch 'neetzsche/display-latest-scrobble' into 'develop'
Display the latest scrobble under a user's name
See merge request pleroma/pleroma-fe!1865
Diffstat (limited to 'src/components/status/status.vue')
| -rw-r--r-- | src/components/status/status.vue | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/components/status/status.vue b/src/components/status/status.vue index c49a9e7b..d66de562 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -249,6 +249,24 @@ </button> </span> </div> + <div class="status-rich-presence" v-if="scrobblePresent"> + <FAIcon + class="fa-scale-110 fa-old-padding" + icon="music" + /> + {{ scrobble.artist }} — {{ scrobble.title }} + <FAIcon + class="fa-scale-110 fa-old-padding" + icon="play" + /> + <span class="status-rich-presence-time"> + <Timeago + template-key="time.in_past" + :time="scrobble.created_at" + :auto-update="60" + /> + </span> + </div> <div v-if="isReply || hasMentionsLine" class="heading-reply-row" |
