diff options
| author | NEETzsche <neetzsche@tutanota.com> | 2023-11-09 15:03:21 -0700 |
|---|---|---|
| committer | NEETzsche <neetzsche@tutanota.com> | 2023-11-10 06:11:55 -0700 |
| commit | 2c9930bd5b5c1279e0890aeba673ad6b5ce2af18 (patch) | |
| tree | b8a99013fc921b7d760dad93b94ea9403fc67490 /src/components/status/status.vue | |
| parent | 954d03150f1dc097b9950cfef2fed2e4f55b6442 (diff) | |
Display the latest scrobble under a user's name
Diffstat (limited to 'src/components/status/status.vue')
| -rw-r--r-- | src/components/status/status.vue | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/src/components/status/status.vue b/src/components/status/status.vue index c49a9e7b..ad625643 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -249,6 +249,25 @@ </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> <div v-if="isReply || hasMentionsLine" class="heading-reply-row" @@ -345,7 +364,6 @@ </template> </i18n-t> </div> - </div> <StatusContent ref="content" |
