mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update smart matches
This commit is contained in:
parent
3d4ec9caf1
commit
f220653d1b
4 changed files with 6 additions and 4 deletions
|
@ -12,6 +12,7 @@
|
|||
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
|
||||
<a href="#" data-role="button" class="ui-btn-active">${TabActivityLog}</a>
|
||||
<a href="autoorganizetv.html" data-role="button">${TabTV}</a>
|
||||
<a href="autoorganizesmart.html" data-role="button">${TabSmartMatches}</a>
|
||||
</div>
|
||||
|
||||
<div style="margin: -25px 0 1em; text-align: right;">
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
|
||||
<a href="autoorganizelog.html" data-role="button">${TabActivityLog}</a>
|
||||
<a href="#" data-role="button" class="ui-btn-active">${TabTV}</a>
|
||||
<a href="autoorganizesmart.html" data-role="button">${TabSmartMatches}</a>
|
||||
</div>
|
||||
|
||||
<form class="libraryFileOrganizerForm">
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
<paper-input id="txtEndingEpisode" type="number" pattern="[0-9]*" min="0" label="${LabelEndingEpisodeNumber}"></paper-input>
|
||||
<div class="fieldDescription">${LabelEndingEpisodeNumberHelp}</div>
|
||||
</div>
|
||||
<div class="hide">
|
||||
<div>
|
||||
<br />
|
||||
<paper-checkbox type="checkbox" id="chkRememberCorrection">${OptionRememberOrganizeCorrection}</paper-checkbox>
|
||||
</div>
|
||||
|
|
|
@ -33,8 +33,8 @@
|
|||
if (infos.length > 0) {
|
||||
infos = infos.sort(function (a, b) {
|
||||
|
||||
a = a.OrganizerType + " " + a.Name;
|
||||
b = b.OrganizerType + " " + b.Name;
|
||||
a = a.OrganizerType + " " + (a.DisplayName || a.ItemName);
|
||||
b = b.OrganizerType + " " + (b.DisplayName || b.ItemName);
|
||||
|
||||
if (a == b) {
|
||||
return 0;
|
||||
|
@ -64,7 +64,7 @@
|
|||
|
||||
html += '<paper-item-body two-line>';
|
||||
|
||||
html += "<div>" + info.DisplayName + "</div>";
|
||||
html += "<div>" + (info.DisplayName || info.ItemName) + "</div>";
|
||||
|
||||
html += info.MatchStrings.map(function (m) {
|
||||
return "<div secondary>" + m + "</div>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue