mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
removed dead db fields
This commit is contained in:
parent
68e71b78db
commit
22a5e48860
4 changed files with 6 additions and 24 deletions
|
@ -2,12 +2,10 @@
|
||||||
|
|
||||||
function paperDialogHashHandler(dlg, hash, lockDocumentScroll) {
|
function paperDialogHashHandler(dlg, hash, lockDocumentScroll) {
|
||||||
|
|
||||||
var isActive = true;
|
|
||||||
|
|
||||||
function onHashChange(e, data) {
|
function onHashChange(e, data) {
|
||||||
|
|
||||||
data = data.state;
|
data = data.state;
|
||||||
isActive = data.hash == '#' + hash;
|
var isActive = data.hash == '#' + hash;
|
||||||
|
|
||||||
if (data.direction == 'back') {
|
if (data.direction == 'back') {
|
||||||
if (dlg) {
|
if (dlg) {
|
||||||
|
|
|
@ -126,9 +126,6 @@
|
||||||
<input class="chkMissingRating" type="checkbox" name="chkMissingRating" id="chkMissingRating">
|
<input class="chkMissingRating" type="checkbox" name="chkMissingRating" id="chkMissingRating">
|
||||||
<label for="chkMissingRating">${OptionMissingParentalRating}</label>
|
<label for="chkMissingRating">${OptionMissingParentalRating}</label>
|
||||||
|
|
||||||
<input class="chkIsUnidentified" type="checkbox" id="chkIsUnidentified">
|
|
||||||
<label for="chkIsUnidentified">${OptionUnidentified}</label>
|
|
||||||
|
|
||||||
<input class="chkYearMismatch" type="checkbox" name="chkYearMismatch" id="chkYearMismatch">
|
<input class="chkYearMismatch" type="checkbox" name="chkYearMismatch" id="chkYearMismatch">
|
||||||
<label for="chkYearMismatch">${OptionFileMetadataYearMismatch}</label>
|
<label for="chkYearMismatch">${OptionFileMetadataYearMismatch}</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -129,7 +129,11 @@
|
||||||
|
|
||||||
itemHtml += '<paper-icon-item>';
|
itemHtml += '<paper-icon-item>';
|
||||||
|
|
||||||
|
if (notification.Level == "Error") {
|
||||||
|
itemHtml += '<paper-fab class="listAvatar" style="background:#cc3333;" icon="error" item-icon></paper-fab>';
|
||||||
|
} else {
|
||||||
itemHtml += '<paper-fab class="listAvatar blue" icon="dvr" item-icon></paper-fab>';
|
itemHtml += '<paper-fab class="listAvatar blue" icon="dvr" item-icon></paper-fab>';
|
||||||
|
}
|
||||||
|
|
||||||
itemHtml += '<paper-item-body three-line>';
|
itemHtml += '<paper-item-body three-line>';
|
||||||
|
|
||||||
|
|
|
@ -133,11 +133,6 @@
|
||||||
html += '<img src="css/images/editor/lock.png" style="width:18px"/>';
|
html += '<img src="css/images/editor/lock.png" style="width:18px"/>';
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "UnidentifiedImage":
|
|
||||||
if (rRow.IsUnidentified) {
|
|
||||||
html += '<div class="libraryReportIndicator"><div class="ui-icon-alert ui-btn-icon-notext"></div></div>';
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
case "TagsPrimaryImage":
|
case "TagsPrimaryImage":
|
||||||
if (!rRow.HasImageTagsPrimary) {
|
if (!rRow.HasImageTagsPrimary) {
|
||||||
html += '<a href="edititemimages.html?id=' + rRow.Id + '"><img src="css/images/editor/missingprimaryimage.png" title="Missing primary image." style="width:18px"/></a>';
|
html += '<a href="edititemimages.html?id=' + rRow.Id + '"><img src="css/images/editor/missingprimaryimage.png" title="Missing primary image." style="width:18px"/></a>';
|
||||||
|
@ -175,9 +170,6 @@
|
||||||
if (rRow.HasLockData) {
|
if (rRow.HasLockData) {
|
||||||
html += '<img src="css/images/editor/lock.png" style="width:18px"/>';
|
html += '<img src="css/images/editor/lock.png" style="width:18px"/>';
|
||||||
}
|
}
|
||||||
if (rRow.IsUnidentified) {
|
|
||||||
html += '<div class="libraryReportIndicator"><div class="ui-icon-alert ui-btn-icon-notext"></div></div>';
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!rRow.HasLocalTrailer && rRow.RowType === "Movie") {
|
if (!rRow.HasLocalTrailer && rRow.RowType === "Movie") {
|
||||||
html += '<img src="css/images/editor/missingtrailer.png" title="Missing local trailer." style="width:18px"/>';
|
html += '<img src="css/images/editor/missingtrailer.png" title="Missing local trailer." style="width:18px"/>';
|
||||||
|
@ -511,7 +503,6 @@
|
||||||
$('#chkMissingOverview', page).checked(query.HasOverview == false).checkboxradio('refresh');
|
$('#chkMissingOverview', page).checked(query.HasOverview == false).checkboxradio('refresh');
|
||||||
$('#chkYearMismatch', page).checked(query.IsYearMismatched == true).checkboxradio('refresh');
|
$('#chkYearMismatch', page).checked(query.IsYearMismatched == true).checkboxradio('refresh');
|
||||||
|
|
||||||
$('#chkIsUnidentified', page).checked(query.IsUnidentified == true).checkboxradio('refresh');
|
|
||||||
$('#chkIsLocked', page).checked(query.IsLocked == true).checkboxradio('refresh');
|
$('#chkIsLocked', page).checked(query.IsLocked == true).checkboxradio('refresh');
|
||||||
|
|
||||||
//Episodes
|
//Episodes
|
||||||
|
@ -775,14 +766,6 @@
|
||||||
reloadItems(page);
|
reloadItems(page);
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#chkIsUnidentified', page).on('change', function () {
|
|
||||||
|
|
||||||
query.StartIndex = 0;
|
|
||||||
query.IsUnidentified = this.checked ? true : null;
|
|
||||||
|
|
||||||
reloadItems(page);
|
|
||||||
});
|
|
||||||
|
|
||||||
//Episodes
|
//Episodes
|
||||||
$('#chkMissingEpisode', page).on('change', function () {
|
$('#chkMissingEpisode', page).on('change', function () {
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue