Merge branch 'neetzsche/accommodate-scrobble-urls' into 'develop'
Accommodate scrobble URLs when present See merge request pleroma/pleroma-fe!1872
This commit is contained in:
commit
02fff5ddd5
1
changelog.d/create-link-when-url-present.add
Normal file
1
changelog.d/create-link-when-url-present.add
Normal file
@ -0,0 +1 @@
|
|||||||
|
Create a link to the URL of the scrobble when it's present
|
@ -249,22 +249,45 @@
|
|||||||
</button>
|
</button>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="status-rich-presence" v-if="scrobblePresent">
|
<div
|
||||||
<FAIcon
|
v-if="scrobblePresent"
|
||||||
class="fa-scale-110 fa-old-padding"
|
class="status-rich-presence"
|
||||||
icon="music"
|
>
|
||||||
/>
|
<a
|
||||||
{{ scrobble.artist }} — {{ scrobble.title }}
|
v-if="scrobble.externalLink"
|
||||||
<FAIcon
|
:href="scrobble.externalLink"
|
||||||
class="fa-scale-110 fa-old-padding"
|
target="_blank"
|
||||||
icon="play"
|
>
|
||||||
/>
|
{{ scrobble.artist }} — {{ scrobble.title }}
|
||||||
<span class="status-rich-presence-time">
|
<FAIcon
|
||||||
<Timeago
|
class="fa-scale-110 fa-old-padding"
|
||||||
template-key="time.in_past"
|
icon="play"
|
||||||
:time="scrobble.created_at"
|
|
||||||
:auto-update="60"
|
|
||||||
/>
|
/>
|
||||||
|
<span class="status-rich-presence-time">
|
||||||
|
<Timeago
|
||||||
|
template-key="time.in_past"
|
||||||
|
:time="scrobble.created_at"
|
||||||
|
:auto-update="60"
|
||||||
|
/>
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
<span v-if="!scrobble.externalLink">
|
||||||
|
<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>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
|
Loading…
Reference in New Issue
Block a user