mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 04:19:24 +02:00
Resolve "Add alt tags to existing images"
This commit is contained in:
parent
0a93aec8c9
commit
8c3c19796c
23 changed files with 54 additions and 50 deletions
|
@ -5,6 +5,7 @@
|
|||
</div>
|
||||
<img
|
||||
@click="$router.push({name: 'library.tracks.detail', params: {id: entry.id}})"
|
||||
alt=""
|
||||
class="channel-image image"
|
||||
v-if="cover && cover.original"
|
||||
v-lazy="$store.getters['instance/absoluteUrl'](cover.square_crop)">
|
||||
|
@ -14,11 +15,13 @@
|
|||
v-else-if="entry.artist.content_category === 'podcast'">#{{ entry.position }}</span>
|
||||
<img
|
||||
@click="$router.push({name: 'library.tracks.detail', params: {id: entry.id}})"
|
||||
alt=""
|
||||
class="channel-image image"
|
||||
v-else-if="entry.album && entry.album.cover && entry.album.cover.original"
|
||||
v-lazy="$store.getters['instance/absoluteUrl'](entry.album.cover.square_crop)">
|
||||
<img
|
||||
@click="$router.push({name: 'library.tracks.detail', params: {id: entry.id}})"
|
||||
alt=""
|
||||
class="channel-image image"
|
||||
v-else
|
||||
src="../../assets/audio/default-cover.png">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue