2
0
KrisVos130 9 жил өмнө
parent
commit
23e1f835fb

+ 6 - 6
app/client/templates/home.html

@@ -71,12 +71,12 @@
                                         <a href=/private/{{room.name}}>
                                         <img src='/notes.png'>
                                         <figcaption class="caption center-align">
-                                            <h5>{{room.currentPrivateSong.song.title}}</h5>
+                                            <h5>{{room.currentSong.song.title}}</h5>
                                         </figcaption>
                                         </a>
                                     </div>
                                     <div class="card-content" style="overflow-x: hidden;">
-                                        <span class="card-title white-text">{{room.displayName}}</span><div><span class="user-num">{{room.userPrivateNum}}</span> <i class="material-icons">perm_identity</i></div>
+                                        <span class="card-title white-text">{{room.displayName}}</span><div><span class="user-num">{{room.users}}</span> <i class="material-icons">perm_identity</i></div>
                                         <p>{{room.roomDesc}}</p>
                                     </div>
                                     <div class="card-action">
@@ -94,12 +94,12 @@
                                                 <a href=/private/{{room.name}}>
                                                     <img src='/notes.png'>
                                                     <figcaption class="caption center-align">
-                                                        <h5>{{room.currentPrivateSong.song.title}}</h5>
+                                                        <h5>{{room.currentSong.song.title}}</h5>
                                                     </figcaption>
                                                 </a>
                                             </div>
                                             <div class="card-content" style="overflow-x: hidden;">
-                                                <span class="card-title white-text">{{room.displayName}}</span><div><span class="user-num">{{room.userPrivateNum}}</span> <i class="material-icons">perm_identity</i></div>
+                                                <span class="card-title white-text">{{room.displayName}}</span><div><span class="user-num">{{room.users}}</span> <i class="material-icons">perm_identity</i></div>
                                                 <p>{{room.roomDesc}}</p>
                                             </div>
                                             <div class="card-action">
@@ -115,12 +115,12 @@
                                         <a href=/private/{{room.name}}>
                                             <img src='/notes.png'>
                                             <figcaption class="caption center-align">
-                                                <h5>{{room.currentPrivateSong.song.title}}</h5>
+                                                <h5>{{room.currentSong.song.title}}</h5>
                                             </figcaption>
                                         </a>
                                     </div>
                                     <div class="card-content">
-                                        <span class="card-title grey-text text-darken-4">{{room.displayName}}</span><div><span class="user-num">{{room.userPrivateNum}}</span> <i class="material-icons">perm_identity</i></div>
+                                        <span class="card-title grey-text text-darken-4">{{room.displayName}}</span><div><span class="user-num">{{room.users}}</span> <i class="material-icons">perm_identity</i></div>
                                         <p>{{room.roomDesc}}</p>
                                     </div>
                                     <div class="card-action">