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

move underscore Icon to class

This commit is contained in:
grafixeyehero 2020-02-23 01:22:55 +03:00
parent 519ca6ba0b
commit 4b99f00552
14 changed files with 22 additions and 22 deletions

View file

@ -31,14 +31,14 @@ define(["loading", "libraryMenu", "globalize", "listViewStyle", "emby-button"],
}
itemHtml += '<a class="listItem listItem-border" is="emby-linkbutton" data-ripple="false" href="notificationsetting.html?type=' + notification.Type + '">';
if (notification.Enabled) {
itemHtml += '<i class="listItemIcon material-icons">notifications_active</i>';
itemHtml += '<i class="listItemIcon material-icons notifications_active"></i>';
} else {
itemHtml += '<i class="listItemIcon material-icons" style="background-color:#999;">notifications_off</i>';
itemHtml += '<i class="listItemIcon material-icons notifications_off" style="background-color:#999;"></i>';
}
itemHtml += '<div class="listItemBody">';
itemHtml += '<div class="listItemBodyText">' + notification.Name + "</div>";
itemHtml += "</div>";
itemHtml += '<button type="button" is="paper-icon-button-light"><i class="material-icons">mode_edit</i></button>';
itemHtml += '<button type="button" is="paper-icon-button-light"><i class="material-icons mode_edit"></i></button>';
itemHtml += "</a>";
return itemHtml;
}).join("");