mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-09 21:12:23 +01:00
Merge branch 'marietje-zuid' into 'marietje-zuid'
queue/request: include length in request list See merge request dsprenkels/MarietjeDjango!1
This commit is contained in:
@ -267,7 +267,7 @@ function getSongs()
|
|||||||
$.each(songs, function (id, song) {
|
$.each(songs, function (id, song) {
|
||||||
var artist = song.artist.trim() === '' ? '?' : song.artist;
|
var artist = song.artist.trim() === '' ? '?' : song.artist;
|
||||||
var title = song.title.trim() === '' ? '?' : song.title;
|
var title = song.title.trim() === '' ? '?' : song.title;
|
||||||
$('#request-table tbody:last-child').append('<tr><td>' + artist + '</td><td><a href="#" data-song-id="' + song.id + '">' + title + '</a></td><td>' + (song.uploader_name ? song.uploader_name : 'Marietje') + '</td></tr>');
|
$('#request-table tbody:last-child').append('<tr><td>' + artist + '</td><td><a href="#" data-song-id="' + song.id + '">' + title + '</a></td><td>' + (song.uploader_name ? song.uploader_name : 'Marietje') + '</td><td>' + song.duration.secondsToHHMMSS() + '</td></tr>');
|
||||||
});
|
});
|
||||||
var pageNumSelect = $('.pagenum');
|
var pageNumSelect = $('.pagenum');
|
||||||
pageNumSelect.empty();
|
pageNumSelect.empty();
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
<th>Artist</th>
|
<th>Artist</th>
|
||||||
<th>Title</th>
|
<th>Title</th>
|
||||||
<th>Uploader</th>
|
<th>Uploader</th>
|
||||||
|
<th>Length</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th colspan="2"><input id="search-all" class="search-input" type="text"></th>
|
<th colspan="2"><input id="search-all" class="search-input" type="text"></th>
|
||||||
|
|||||||
Reference in New Issue
Block a user