mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-09 05:53:23 -05:00
bbe29a7a63
Spotify tracks that are not playable have now a "not allowed" cursor when hovered. Moreover, the Bulma CSS class is now used for clickable items instead of a custom one.
32 lines
751 B
Vue
32 lines
751 B
Vue
<template>
|
|
<div class="media">
|
|
<div v-if="$slots['artwork']" class="media-left is-clickable">
|
|
<slot name="artwork" />
|
|
</div>
|
|
<div class="media-content is-clickable is-clipped">
|
|
<h1 class="title is-6" v-text="album.name" />
|
|
<h2 class="subtitle is-7 has-text-grey">
|
|
<b v-text="album.artists[0].name" />
|
|
</h2>
|
|
<h2
|
|
class="subtitle is-7 has-text-grey has-text-weight-normal"
|
|
v-text="
|
|
[album.album_type, $filters.date(album.release_date)].join(', ')
|
|
"
|
|
/>
|
|
</div>
|
|
<div class="media-right">
|
|
<slot name="actions" />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'SpotifyListItemAlbum',
|
|
props: ['album']
|
|
}
|
|
</script>
|
|
|
|
<style></style>
|