Use a compact list for related tracks

This commit is contained in:
Eduard Urbach 2020-02-12 13:13:25 +09:00
parent 86d990f761
commit 12d36178de
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0

View File

@ -40,9 +40,10 @@ component SoundTrackPage(track *arn.SoundTrack, relatedTracks []*arn.SoundTrack,
if len(relatedTracks) > 0
.widget.mountable
h3.widget-title Related
.soundtracks.anime-soundtracks
ul.related-tracks
each relatedTrack in relatedTracks
SoundTrackMini(relatedTrack, user)
li
a(href=relatedTrack.Link())= relatedTrack.TitleByUser(user)
//- TODO: This is quite ineffective, performance-wise
if len(track.OsuBeatmaps()) > 0 || len(track.EtternaBeatmaps()) > 0