2017-07-06 22:23:32 +02:00

12 lines
345 B
Plaintext

component TrackList(tracks []*arn.SoundTrack, viewUser *arn.User, user *arn.User, uri string)
ProfileHeader(viewUser, user, uri)
h1.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)