kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
				
				
				
			UI Polishing
							rodzic
							
								
									a38f64852f
								
							
						
					
					
						commit
						f503466a24
					
				| 
						 | 
				
			
			@ -36,6 +36,12 @@
 | 
			
		|||
        <router-link class="item" v-else :to="{name: 'login'}"><i class="sign in icon"></i> Login</router-link>
 | 
			
		||||
        <router-link class="item" :to="{path: '/library'}"><i class="sound icon"> </i>Browse library</router-link>
 | 
			
		||||
        <router-link class="item" :to="{path: '/favorites'}"><i class="heart icon"></i> Favorites</router-link>
 | 
			
		||||
        <a
 | 
			
		||||
          @click="$store.commit('playlists/chooseTrack', null)"
 | 
			
		||||
          v-if="$store.state.auth.authenticated"
 | 
			
		||||
          class="item">
 | 
			
		||||
          <i class="list icon"></i> Playlists
 | 
			
		||||
        </a>
 | 
			
		||||
        <router-link
 | 
			
		||||
          v-if="$store.state.auth.authenticated"
 | 
			
		||||
          class="item" :to="{path: '/activity'}"><i class="bell icon"></i> Activity</router-link>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -24,6 +24,11 @@
 | 
			
		|||
 | 
			
		||||
          <play-button class="orange" :track="track">Play</play-button>
 | 
			
		||||
          <track-favorite-icon :track="track" :button="true"></track-favorite-icon>
 | 
			
		||||
          <track-playlist-icon
 | 
			
		||||
            :button="true"
 | 
			
		||||
            v-if="$store.state.auth.authenticated"
 | 
			
		||||
            :track="track"></track-playlist-icon>
 | 
			
		||||
 | 
			
		||||
          <a :href="wikipediaUrl" target="_blank" class="ui button">
 | 
			
		||||
            <i class="wikipedia icon"></i>
 | 
			
		||||
            Search on wikipedia
 | 
			
		||||
| 
						 | 
				
			
			@ -66,6 +71,7 @@ import logger from '@/logging'
 | 
			
		|||
import backend from '@/audio/backend'
 | 
			
		||||
import PlayButton from '@/components/audio/PlayButton'
 | 
			
		||||
import TrackFavoriteIcon from '@/components/favorites/TrackFavoriteIcon'
 | 
			
		||||
import TrackPlaylistIcon from '@/components/playlists/TrackPlaylistIcon'
 | 
			
		||||
 | 
			
		||||
const FETCH_URL = 'tracks/'
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -73,6 +79,7 @@ export default {
 | 
			
		|||
  props: ['id'],
 | 
			
		||||
  components: {
 | 
			
		||||
    PlayButton,
 | 
			
		||||
    TrackPlaylistIcon,
 | 
			
		||||
    TrackFavoriteIcon
 | 
			
		||||
  },
 | 
			
		||||
  data () {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -110,7 +110,14 @@ export default new Router({
 | 
			
		|||
        },
 | 
			
		||||
        { path: 'radios/build', name: 'library.radios.build', component: RadioBuilder, props: true },
 | 
			
		||||
        { path: 'radios/build/:id', name: 'library.radios.edit', component: RadioBuilder, props: true },
 | 
			
		||||
        { path: 'playlists/:id', name: 'library.playlists.detail', component: PlaylistDetail, props: true },
 | 
			
		||||
        {
 | 
			
		||||
          path: 'playlists/:id',
 | 
			
		||||
          name: 'library.playlists.detail',
 | 
			
		||||
          component: PlaylistDetail,
 | 
			
		||||
          props: (route) => ({
 | 
			
		||||
            id: route.params.id,
 | 
			
		||||
            defaultEdit: route.query.mode === 'edit' })
 | 
			
		||||
        },
 | 
			
		||||
        { path: 'artists/:id', name: 'library.artists.detail', component: LibraryArtist, props: true },
 | 
			
		||||
        { path: 'albums/:id', name: 'library.albums.detail', component: LibraryAlbum, props: true },
 | 
			
		||||
        { path: 'tracks/:id', name: 'library.tracks.detail', component: LibraryTrack, props: true },
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue