Use a compact list for related tracks
This commit is contained in:
parent
86d990f761
commit
12d36178de
@ -40,9 +40,10 @@ component SoundTrackPage(track *arn.SoundTrack, relatedTracks []*arn.SoundTrack,
|
|||||||
if len(relatedTracks) > 0
|
if len(relatedTracks) > 0
|
||||||
.widget.mountable
|
.widget.mountable
|
||||||
h3.widget-title Related
|
h3.widget-title Related
|
||||||
.soundtracks.anime-soundtracks
|
ul.related-tracks
|
||||||
each relatedTrack in relatedTracks
|
each relatedTrack in relatedTracks
|
||||||
SoundTrackMini(relatedTrack, user)
|
li
|
||||||
|
a(href=relatedTrack.Link())= relatedTrack.TitleByUser(user)
|
||||||
|
|
||||||
//- TODO: This is quite ineffective, performance-wise
|
//- TODO: This is quite ineffective, performance-wise
|
||||||
if len(track.OsuBeatmaps()) > 0 || len(track.EtternaBeatmaps()) > 0
|
if len(track.OsuBeatmaps()) > 0 || len(track.EtternaBeatmaps()) > 0
|
||||||
|
Loading…
Reference in New Issue
Block a user