Added #275
authorRemixDev <deezloaderremix@gmail.com>
Mon, 25 Mar 2019 19:12:04 +0000 (20:12 +0100)
committerRemixDev <deezloaderremix@gmail.com>
Mon, 25 Mar 2019 19:12:04 +0000 (20:12 +0100)
app/public/index.html
app/public/js/frontend.js

index 5b55d32397f7fe83c0af5646e8a0a78440c8c382..1b190fb7c9e4c2c973c538764ae38ddf109ad8af 100644 (file)
       <h6 v-if="metadata" style="display: inline;">{{ metadata }}</h6>
       <span class="right hide-on-small-only" v-if="release_date"> {{ release_date }} </span>
     </div>
-    <div class="row modal-container">
+    <div class="modal-container">
                        <table class="highlight col s12">
                                <thead>
                                <tr>
       <h6 v-if="metadata" style="display: inline;">{{ metadata }}</h6>
       <span class="right hide-on-small-only" v-if="release_date">{{ release_date }}</span>
     </div>
-    <div class="row modal-container">
+    <div class="modal-container">
                        <table class="highlight col s12">
                                <thead>
                                <tr>
                                <tbody id="modal_trackListSelective_table_trackListSelective_tbody_trackListSelective" class="hide">
                                </tbody>
                        </table>
+      <span v-if="label" style="opacity: 0.40;margin-top: 8px;display: inline-block;font-size: 13px;">{{ label }}</span>
                </div>
        </div>
        <div class="modal-footer">
index 5c1d93495e649f180d78087b0fdbde21fe030be4..c72498bc7f66ce1b62a1ec48831b5bcf3a7dac3e 100644 (file)
@@ -598,6 +598,7 @@ var trackListSelectiveModalApp = new Vue({
                title: "",
                metadata : "",
                release_date: "",
+               label: "",
                explicit: false,
                image: "",
                type: "",
@@ -613,6 +614,7 @@ var trackListModalApp = new Vue({
                title: "",
                metadata : {},
                release_date: "",
+               label: "",
                image: "",
                type: "",
                link: "",
@@ -637,6 +639,7 @@ function showTrackListSelective(link) {
        trackListSelectiveModalApp.title = "Loading..."
        trackListSelectiveModalApp.image = ""
        trackListSelectiveModalApp.metadata = ""
+       trackListSelectiveModalApp.label = ""
        trackListSelectiveModalApp.release_date = ""
        trackListSelectiveModalApp.explicit = false
        trackListSelectiveModalApp.type = ""
@@ -786,6 +789,7 @@ socket.on("getTrackList", function (data) {
                        trackListSelectiveModalApp.link = `https://www.deezer.com/${data.reqType}/${data.id}`
                        trackListSelectiveModalApp.title = data.response.title
                        trackListSelectiveModalApp.explicit = data.response.explicit_lyrics
+                       trackListSelectiveModalApp.label = data.response.label
                        trackListSelectiveModalApp.metadata = `${data.response.artist.name} • ${trackList.length == 1 ? "1 song" : `${trackList.length} songs`}`
                        trackListSelectiveModalApp.release_date = data.response.release_date.substring(0,10)
                        trackListSelectiveModalApp.image = data.response.cover_xl