Revert "Show AllManga alternative watchlist titles"

This reverts commit 84c2e533d0.
This commit is contained in:
Dymas
2026-05-23 19:14:35 +02:00
parent bead7da60a
commit 2ff4e390c4
7 changed files with 7 additions and 204 deletions
+1 -16
View File
@@ -413,14 +413,6 @@ WATCHLIST_HTML = r"""<!doctype html>
flex: 1;
min-width: 0;
}
.alt-title {
color: var(--muted);
font-size: 12px;
line-height: 1.35;
margin-top: 4px;
overflow-wrap: anywhere;
min-height: 1.35em;
}
.card-title a {
color: inherit;
text-decoration: none;
@@ -999,10 +991,7 @@ WATCHLIST_HTML = r"""<!doctype html>
<input class="thumb-upload-input" type="file" accept="image/*" hidden>
</div>
<div class="title-row">
<div>
<div class="card-title"></div>
<div class="alt-title"></div>
</div>
<div class="card-title"></div>
<span class="finish-check ${item.finished_badge || ""}" ${item.finished_badge ? "" : "hidden"}>${item.finished_badge ? "&check;" : ""}</span>
</div>
<div class="count-row">
@@ -1030,10 +1019,6 @@ WATCHLIST_HTML = r"""<!doctype html>
titleLink.rel = "noopener noreferrer";
titleLink.textContent = item.title;
titleNode.replaceChildren(titleLink);
const altTitleNode = card.querySelector(".alt-title");
altTitleNode.textContent = (item.display_alt_titles || []).length
? `Alt: ${item.display_alt_titles.join(" · ")}`
: "";
const finishCheck = card.querySelector(".finish-check");
if (finishCheck && item.finished_badge) {
finishCheck.title = item.finished_badge === "downloaded"