mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
rework a-z picker a little
This commit is contained in:
parent
9bcadf03cd
commit
ba24058f75
12 changed files with 38 additions and 24 deletions
|
@ -231,6 +231,18 @@
|
|||
|
||||
renderSeriesAirTime(page, item, context);
|
||||
renderSimiliarItems(page, item);
|
||||
|
||||
if (item.Players) {
|
||||
$('#players', page).show().html(item.Players + ' Player');
|
||||
} else {
|
||||
$('#players', page).hide();
|
||||
}
|
||||
|
||||
if (item.Type == "Audio" && item.Artists && item.Artists.length) {
|
||||
$('#artist', page).show().html('Artist: <a class="textlink" href="itembynamedetails.html?context=music&artist=' + ApiClient.encodeName(item.Artists[0]) + '">' + item.Artists[0] + '</a>').trigger('create');
|
||||
} else {
|
||||
$('#artist', page).hide();
|
||||
}
|
||||
}
|
||||
|
||||
function renderSimiliarItems(page, item) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue