mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
limit ifo's to 300mb+
This commit is contained in:
parent
45bcd1b40a
commit
4ab95b6e11
9 changed files with 87 additions and 81 deletions
|
@ -192,36 +192,9 @@ var Dashboard = {
|
|||
}
|
||||
}
|
||||
|
||||
if (isFirstLoad) {
|
||||
Dashboard.showFailedAssemblies(info.FailedPluginAssemblies);
|
||||
}
|
||||
|
||||
Dashboard.showInProgressInstallations(info.InProgressInstallations);
|
||||
},
|
||||
|
||||
showFailedAssemblies: function (failedAssemblies) {
|
||||
|
||||
for (var i = 0, length = failedAssemblies.length; i < length; i++) {
|
||||
|
||||
var assembly = failedAssemblies[i];
|
||||
|
||||
var html = '<img src="css/images/notifications/error.png" class="notificationIcon" />';
|
||||
|
||||
var index = assembly.lastIndexOf('\\');
|
||||
|
||||
if (index != -1) {
|
||||
assembly = assembly.substring(index + 1);
|
||||
}
|
||||
|
||||
html += '<span>';
|
||||
html += assembly + " failed to load.";
|
||||
html += '</span>';
|
||||
|
||||
Dashboard.showFooterNotification({ html: html });
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
showInProgressInstallations: function (installations) {
|
||||
|
||||
installations = installations || [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue