2018-11-24 06:57:52 +00:00
|
|
|
//- component ProfileSoundTracks(tracks []*arn.SoundTrack, viewUser *arn.User, nextIndex int, user *arn.User, uri string)
|
|
|
|
//- ProfileHeader(viewUser, user, uri)
|
2017-07-03 15:21:00 +00:00
|
|
|
|
2018-11-24 06:57:52 +00:00
|
|
|
//- if strings.Contains(uri, "/added")
|
|
|
|
//- h1.page-title= "Tracks added by " + viewUser.Nick
|
|
|
|
//- else
|
|
|
|
//- h1.page-title= "Tracks liked by " + viewUser.Nick
|
2018-03-14 14:56:09 +00:00
|
|
|
|
2018-11-24 06:57:52 +00:00
|
|
|
//- if len(tracks) == 0
|
|
|
|
//- if strings.Contains(uri, "/added")
|
|
|
|
//- p.no-data.mountable= viewUser.Nick + " hasn't added any tracks yet."
|
|
|
|
//- else
|
|
|
|
//- p.no-data.mountable= viewUser.Nick + " hasn't liked any tracks yet."
|
|
|
|
//- else
|
|
|
|
//- #load-more-target.soundtracks
|
|
|
|
//- SoundTracksScrollable(tracks, user)
|
2018-03-14 14:56:09 +00:00
|
|
|
|
2018-11-24 06:57:52 +00:00
|
|
|
//- if nextIndex != -1
|
|
|
|
//- .buttons
|
|
|
|
//- LoadMore(nextIndex)
|
2017-06-27 18:12:08 +00:00
|
|
|
|