18 lines
521 B
Plaintext
Raw Normal View History

component TrackList(tracks []*arn.SoundTrack, viewUser *arn.User, nextIndex int, user *arn.User, uri string)
2017-07-06 01:24:56 +00:00
ProfileHeader(viewUser, user, uri)
2017-07-03 15:21:00 +00:00
if strings.Contains(uri, "/added")
h1.page-title= "Tracks added by " + viewUser.Nick
else
h1.page-title= "Tracks liked 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
#load-more-target.soundtracks
SoundTracksScrollable(tracks, user)
if nextIndex != -1
.buttons
LoadMore(nextIndex)
2017-06-27 18:12:08 +00:00