mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
updated mobile and tablet layouts in web client
This commit is contained in:
parent
722c5a92f3
commit
2861ff68c9
11 changed files with 58 additions and 52 deletions
|
@ -1108,18 +1108,15 @@
|
|||
|
||||
getPlayedIndicatorHtml: function (item) {
|
||||
|
||||
if (item.Type == "Series" || item.Type == "Season" || item.Type == "BoxSet") {
|
||||
if (item.Type == "Series" || item.Type == "Season" || item.Type == "BoxSet" || item.MediaType == "Video") {
|
||||
if (item.RecursiveUnplayedItemCount) {
|
||||
return '<div class="unplayedIndicator">' + item.RecursiveUnplayedItemCount + '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
if (item.PlayedPercentage == 100) {
|
||||
return '<div class="unplayedIndicator"><div class="ui-icon-check ui-btn-icon-notext"></div></div>';
|
||||
}
|
||||
|
||||
if (item.MediaType == "Video") {
|
||||
|
||||
if (item.PlayedPercentage == 100) {
|
||||
return '<div class="unplayedIndicator"><div class="ui-icon-check ui-btn-icon-notext"></div></div>';
|
||||
}
|
||||
|
||||
var userData = item.UserData || {};
|
||||
|
||||
if (userData.Played) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue