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
|
|
|
|
.sound-tracks
|
|
|
|
each track in tracks
|
|
|
|
SoundTrack(track)
|
2017-06-27 18:12:08 +00:00
|
|
|
|