1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

switch to shared components

This commit is contained in:
Luke Pulverenti 2016-07-18 02:45:29 -04:00
parent c216a7ecdc
commit e305bf40c8
28 changed files with 789 additions and 723 deletions

View file

@ -1,4 +1,4 @@
define(['datetime', 'paper-icon-button-light'], function (datetime) {
define(['datetime', 'userdataButtons', 'paper-icon-button-light'], function (datetime, userdataButtons) {
var currentPlayer;
@ -572,7 +572,10 @@
if (nowPlayingItem.Id) {
ApiClient.getItem(Dashboard.getCurrentUserId(), nowPlayingItem.Id).then(function (item) {
nowPlayingUserData.innerHTML = LibraryBrowser.getUserDataIconsHtml(item, false);
nowPlayingUserData.innerHTML = userdataButtons.getIconsHtml({
item: item,
includePlayed: false
});
});
} else {
nowPlayingUserData.innerHTML = '';