Remove track counter from singles
This commit is contained in:
parent
8f051edf92
commit
d7f0954c51
1 changed files with 12 additions and 7 deletions
|
@ -5,7 +5,7 @@ block title
|
|||
|
||||
block view
|
||||
.mx-auto.w100.wmx11.fs-body1#content
|
||||
!= icons.useTemplate(["star-solid", "play-solid", "music-note", "compact-disc", "people-tag", "flower"])
|
||||
!= icons.useTemplate(["star-solid", "play-solid", "music-note", "compact-disc", "people-tag", "flower", "system-shut"])
|
||||
.d-grid.gx8.gy12.jc-center.break-word.album-grid
|
||||
each item in items
|
||||
div
|
||||
|
@ -19,12 +19,17 @@ block view
|
|||
a.s-tag.s-tag__xs.fc-orange-400(title=(item.why + (item.featured_track_title ? ` -- favourite track: ${item.featured_track_title}` : "")) href=and({filter_field: "why", filter: "reviewed"}))
|
||||
!= icons.use("star-solid", 16)
|
||||
if hasFullTrackData
|
||||
a.s-tag.s-tag__xs(href=and({arrange: "track", filter_field: "item_id", filter: item.item_id, filter_fuzzy: null}))
|
||||
span.s-tag--sponsor!= icons.use("music-note", 16)
|
||||
= item.track_count
|
||||
span.s-tag.s-tag__xs
|
||||
span.s-tag--sponsor!= icons.use("compact-disc", 16)
|
||||
= item.total_duration
|
||||
if item.track_count === 1
|
||||
a.s-tag.s-tag__xs(href=and({arrange: "track", filter_field: "item_id", filter: item.item_id, filter_fuzzy: null}))
|
||||
span.s-tag--sponsor!= icons.use("system-shut", 16)
|
||||
= item.total_duration
|
||||
else
|
||||
a.s-tag.s-tag__xs(href=and({arrange: "track", filter_field: "item_id", filter: item.item_id, filter_fuzzy: null}))
|
||||
span.s-tag--sponsor!= icons.use("music-note", 16)
|
||||
= item.track_count
|
||||
span.s-tag.s-tag__xs
|
||||
span.s-tag--sponsor!= icons.use("compact-disc", 16)
|
||||
= item.total_duration
|
||||
a.s-tag.s-tag__xs(href=and({filter_field: "band_name", filter: item.band_name, filter_fuzzy: null}))
|
||||
span.s-tag--sponsor!= icons.use("people-tag", 16)
|
||||
= item.band_name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue