2017-07-06 03:24:56 +02:00

12 lines
345 B
Plaintext

component TrackList(tracks []*arn.SoundTrack, viewUser *arn.User, user *arn.User, uri string)
ProfileHeader(viewUser, user, uri)
h2.page-title= "Tracks added by " + viewUser.Nick
if len(tracks) == 0
p.no-data.mountable= viewUser.Nick + " hasn't added any tracks yet."
else
.sound-tracks
each track in tracks
SoundTrack(track)