Fixes #584 - Add icons to edit page sidebar
This commit is contained in:
parent
504db16994
commit
2277ce3c14
5 changed files with 20 additions and 0 deletions
BIN
dashboard-ui/css/images/editor/missingbackdrop.png
Normal file
BIN
dashboard-ui/css/images/editor/missingbackdrop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
BIN
dashboard-ui/css/images/editor/missinglogo.png
Normal file
BIN
dashboard-ui/css/images/editor/missinglogo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
BIN
dashboard-ui/css/images/editor/missingprimaryimage.png
Normal file
BIN
dashboard-ui/css/images/editor/missingprimaryimage.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
BIN
dashboard-ui/css/images/editor/missingtrailer.png
Normal file
BIN
dashboard-ui/css/images/editor/missingtrailer.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
|
@ -24,6 +24,26 @@
|
|||
|
||||
htmlName += name;
|
||||
|
||||
if (!item.LocalTrailerCount && item.Type == "Movie") {
|
||||
htmlName += '<img src="css/images/editor/missingtrailer.png" title="Missing local trailer." />';
|
||||
}
|
||||
|
||||
if (!item.ImageTags || !item.ImageTags.Primary) {
|
||||
htmlName += '<img src="css/images/editor/missingprimaryimage.png" title="Missing primary image." />';
|
||||
}
|
||||
|
||||
if (!item.BackdropImageTags || !item.BackdropImageTags.length) {
|
||||
if (item.Type !== "Episode") {
|
||||
htmlName += '<img src="css/images/editor/missingbackdrop.png" title="Missing backdrop image." />';
|
||||
}
|
||||
}
|
||||
|
||||
if (!item.ImageTags || !item.ImageTags.Logo) {
|
||||
if (item.Type == "Movie" || item.Type == "Trailer" || item.Type == "Series" || item.Type == "Artist" || item.Type == "MusicArtist" || item.Type == "BoxSet") {
|
||||
htmlName += '<img src="css/images/editor/missinglogo.png" title="Missing logo image." />';
|
||||
}
|
||||
}
|
||||
|
||||
htmlName += "</div>";
|
||||
|
||||
var rel = item.IsFolder ? 'folder' : 'default';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue