mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
added back index numbers
This commit is contained in:
parent
6f1e4d2863
commit
c715a56cdf
1 changed files with 11 additions and 2 deletions
|
@ -433,9 +433,18 @@
|
|||
|
||||
html += '<div class="posterItemImage" style="' + style + '"></div>';
|
||||
|
||||
var name = item.Name;
|
||||
|
||||
if (item.IndexNumber != null) {
|
||||
name = item.IndexNumber + " - " + name;
|
||||
}
|
||||
if (item.ParentIndexNumber != null) {
|
||||
name = item.ParentIndexNumber + "." + name;
|
||||
}
|
||||
|
||||
if (!imgUrl && !options.showTitle) {
|
||||
html += "<div class='posterItemDefaultText'>";
|
||||
html += item.Name;
|
||||
html += name;
|
||||
html += "</div>";
|
||||
}
|
||||
|
||||
|
@ -451,7 +460,7 @@
|
|||
if (options.showTitle) {
|
||||
|
||||
html += "<div class='" + cssclass + "'>";
|
||||
html += item.Name;
|
||||
html += name;
|
||||
html += "</div>";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue