mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix tv program cards
This commit is contained in:
parent
29f5388ae5
commit
0467a94a3d
5 changed files with 26 additions and 18 deletions
|
@ -61,7 +61,7 @@ define(['css!./indicators.css', 'material-icons'], function () {
|
|||
}
|
||||
|
||||
if (userData.PlayedPercentage && userData.PlayedPercentage >= 100 || (userData.Played)) {
|
||||
return '<div class="playedIndicator indicator"><i class="md-icon playedIndicatorIcon"></i></div>';
|
||||
return '<div class="playedIndicator indicator"><i class="md-icon indicatorIcon"></i></div>';
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -103,9 +103,9 @@ define(['css!./indicators.css', 'material-icons'], function () {
|
|||
function getSyncIndicator(item) {
|
||||
|
||||
if (item.SyncPercent == 100) {
|
||||
return '<i class="md-icon indicator syncIndicator fullSyncIndicator">file_download</i>';
|
||||
return '<div class="syncIndicator indicator fullSyncIndicator"><i class="md-icon indicatorIcon fullSyncIndicatorIcon">offline_pin</i></div>';
|
||||
} else if (item.SyncPercent != null) {
|
||||
return '<i class="md-icon indicator syncIndicator emptySyncIndicator">file_download</i>';
|
||||
return '<div class="syncIndicator indicator emptySyncIndicator"><i class="md-icon indicatorIcon">file_download</i></div>';
|
||||
}
|
||||
|
||||
return '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue