소스 검색

Added a little bit more info to inform users how to play a song in a station.

KrisVos130 8 년 전
부모
커밋
7c5e7abdb4
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 6 1
      frontend/components/Station/Station.vue

+ 6 - 1
frontend/components/Station/Station.vue

@@ -12,7 +12,12 @@
 	<users-sidebar v-if='sidebars.users'></users-sidebar>
 	
 	<div class="station">
-		<h1 v-show="noSong" class="noSong">No song is currently playing.</h1>
+		<div v-show="noSong" class="noSong">
+			<h1>No song is currently playing.</h1>
+			<h1 v-if='type === "community" && station.partyMode'>You can add a song to the queue by clicking <a href="#" @click="sidebars.queue = true">here</a>.</h1>
+			<h1 v-if='type === "community" && !station.partyMode && $parent.userId === station.owner && !station.privatePlaylist'>Click <a href="#" @click="sidebars.playlist = true">here</a> to play a private playlist.</h1>
+			<h1 v-if='type === "community" && !station.partyMode && $parent.userId === station.owner && station.privatePlaylist'>Maybe you can add some songs to your selected private playlist.</h1>
+		</div>
 		<div class="columns is-mobile" v-show="!noSong">
 			<div class="column is-8-desktop is-offset-2-desktop is-12-mobile">
 				<div class="video-container">