Commit cc307376 authored by Ciarán Ainsworth's avatar Ciarán Ainsworth
Browse files

Amend truncated text

parent 6d7bfc8d
Pipeline #11539 passed with stages
in 5 minutes and 36 seconds
......@@ -10,14 +10,14 @@
<img ref="cover" v-else-if="currentTrack.album && currentTrack.album.cover && currentTrack.album.cover.original" :src="$store.getters['instance/absoluteUrl'](currentTrack.album.cover.medium_square_crop)">
<img class="ui image" v-else src="../assets/audio/default-cover.png">
<h1 class="ui header">
<div class="content">
<div class="content ellipsis">
<router-link class="small header discrete link track" :to="{name: 'library.tracks.detail', params: {id: currentTrack.id }}">
{{ currentTrack.title | truncate(35) }}
{{ currentTrack.title }}
</router-link>
<div class="sub header">
<div class="sub header ellipsis">
<router-link class="discrete link artist" :to="{name: 'library.artists.detail', params: {id: currentTrack.artist.id }}">
{{ currentTrack.artist.name | truncate(35) }}</router-link> <template v-if="currentTrack.album">/<router-link class="discrete link album" :to="{name: 'library.albums.detail', params: {id: currentTrack.album.id }}">
{{ currentTrack.album.title | truncate(35) }}
{{ currentTrack.artist.name }}</router-link> <template v-if="currentTrack.album">/<router-link class="discrete link album" :to="{name: 'library.albums.detail', params: {id: currentTrack.album.id }}">
{{ currentTrack.album.title }}
</router-link></template>
</div>
</div>
......
......@@ -6,10 +6,10 @@
<img @click="$router.push({name: 'library.albums.detail', params: {id: serie.id}})" class="channel-image" v-if="cover.original" v-lazy="$store.getters['instance/absoluteUrl'](cover.square_crop)">
<img @click="$router.push({name: 'library.albums.detail', params: {id: serie.id}})" class="channel-image" v-else src="../../assets/audio/default-cover.png">
</div>
<div class="content">
<div class="content ellipsis">
<strong>
<router-link class="discrete ellipsis link" :to="{name: 'library.albums.detail', params: {id: serie.id}}">
{{ serie.title|truncate(30) }}
<router-link class="discrete link" :to="{name: 'library.albums.detail', params: {id: serie.id}}">
{{ serie.title }}
</router-link>
</strong>
<div class="description">
......
......@@ -14,15 +14,15 @@
<div class="middle aligned content">
<div class="ui unstackable grid">
<div class="thirteen wide stretched column">
<div>
<div class="ellipsis">
<router-link :to="{name: 'library.tracks.detail', params: {id: object.track.id}}">
{{ object.track.title|truncate(25) }}
{{ object.track.title }}
</router-link>
</div>
<div class="meta">
<div class="meta ellipsis">
<span>
<router-link class="discrete link" :to="{name: 'library.artists.detail', params: {id: object.track.artist.id}}">
{{ object.track.artist.name|truncate(25) }}
{{ object.track.artist.name }}
</router-link>
</span>
</div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment