2017-07-06 01:24:56 +00:00
|
|
|
component TrackList(tracks []*arn.SoundTrack, viewUser *arn.User, user *arn.User, uri string)
|
|
|
|
ProfileHeader(viewUser, user, uri)
|
2017-07-03 15:21:00 +00:00
|
|
|
|
2017-07-06 20:23:32 +00:00
|
|
|
h1.page-title= "Tracks added by " + viewUser.Nick
|
2017-07-03 15:21:00 +00:00
|
|
|
|
|
|
|
if len(tracks) == 0
|
2017-07-03 15:33:57 +00:00
|
|
|
p.no-data.mountable= viewUser.Nick + " hasn't added any tracks yet."
|
2017-07-03 15:21:00 +00:00
|
|
|
else
|
2018-03-11 14:43:17 +00:00
|
|
|
.soundtracks
|
2017-07-03 15:21:00 +00:00
|
|
|
each track in tracks
|
|
|
|
SoundTrack(track)
|
2017-06-27 18:12:08 +00:00
|
|
|
|