Minor fixes

This commit is contained in:
2018-03-14 16:33:42 +01:00
parent 30080861c4
commit d736505dd1
3 changed files with 21 additions and 4 deletions

View File

@ -7,7 +7,10 @@ component TrackList(tracks []*arn.SoundTrack, viewUser *arn.User, nextIndex int,
h1.page-title= "Tracks liked by " + viewUser.Nick
if len(tracks) == 0
p.no-data.mountable= viewUser.Nick + " hasn't added any tracks yet."
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)