KrisVos130 před 9 roky
rodič
revize
23e1f835fb
1 změnil soubory, kde provedl 6 přidání a 6 odebrání
  1. 6 6
      app/client/templates/home.html

+ 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">