Merge branch 'feature/player-improvements' into 'develop'

Small Player / Queue Improvements

See merge request funkwhale/funkwhale!1260
environments/review-docs-devel-1399dq/deployments/6607
Agate 2021-01-03 17:57:50 +01:00
commit 94d4adc8e2
2 zmienionych plików z 14 dodań i 9 usunięć

Wyświetl plik

@ -15,10 +15,10 @@
{{ currentTrack.title }} {{ currentTrack.title }}
</router-link> </router-link>
<div class="sub header ellipsis"> <div class="sub header ellipsis">
<router-link class="discrete link artist" :to="{name: 'library.artists.detail', params: {id: currentTrack.artist.id }}"> <router-link class="discrete link artist" :to="{name: 'library.artists.detail', params: {id: currentTrack.artist.id }}">{{ currentTrack.artist.name }}</router-link>
{{ 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 }}"> <template v-if="currentTrack.album"> /
{{ currentTrack.album.title }} <router-link class="discrete link album" :to="{name: 'library.albums.detail', params: {id: currentTrack.album.id }}">{{ currentTrack.album.title }}</router-link>
</router-link></template> </template>
</div> </div>
</div> </div>
</h1> </h1>
@ -128,7 +128,12 @@
<h2 class="ui header"> <h2 class="ui header">
<div class="content"> <div class="content">
<button <button
class="ui right floated basic icon button" class="ui right floated basic button"
@click="$store.commit('ui/queueFocused', null)">
<translate translate-context="*/Queue/*/Verb">Close</translate>
</button>
<button
class="ui right floated basic button danger"
@click="$store.dispatch('queue/clean')"> @click="$store.dispatch('queue/clean')">
<translate translate-context="*/Queue/*/Verb">Clear</translate> <translate translate-context="*/Queue/*/Verb">Clear</translate>
</button> </button>

Wyświetl plik

@ -24,10 +24,10 @@
</router-link> </router-link>
</strong> </strong>
<div class="meta"> <div class="meta">
<router-link @click.stop.prevent="" class="discrete link" :to="{name: 'library.artists.detail', params: {id: currentTrack.artist.id }}"> <router-link @click.stop.prevent="" class="discrete link" :to="{name: 'library.artists.detail', params: {id: currentTrack.artist.id }}">{{ currentTrack.artist.name }}</router-link>
{{ currentTrack.artist.name }}</router-link><template v-if="currentTrack.album"> /<router-link @click.stop.prevent="" class="discrete link" :to="{name: 'library.albums.detail', params: {id: currentTrack.album.id }}"> <template v-if="currentTrack.album"> /
{{ currentTrack.album.title }} <router-link @click.stop.prevent="" class="discrete link" :to="{name: 'library.albums.detail', params: {id: currentTrack.album.id }}">{{ currentTrack.album.title }}</router-link>
</router-link></template> </template>
</div> </div>
</div> </div>
</div> </div>