Renamed template

This commit is contained in:
Eduard Urbach 2018-03-14 18:23:04 +01:00
parent 5b05d82b7d
commit 04ac4057a9
2 changed files with 2 additions and 2 deletions

View File

@ -53,5 +53,5 @@ func render(ctx *aero.Context, fetch func(userID string) []*arn.SoundTrack) stri
} }
// Otherwise, send the full page // Otherwise, send the full page
return ctx.HTML(components.TrackList(tracks, viewUser, nextIndex, user, ctx.URI())) return ctx.HTML(components.ProfileSoundTracks(tracks, viewUser, nextIndex, user, ctx.URI()))
} }

View File

@ -1,4 +1,4 @@
component TrackList(tracks []*arn.SoundTrack, viewUser *arn.User, nextIndex int, user *arn.User, uri string) component ProfileSoundTracks(tracks []*arn.SoundTrack, viewUser *arn.User, nextIndex int, user *arn.User, uri string)
ProfileHeader(viewUser, user, uri) ProfileHeader(viewUser, user, uri)
if strings.Contains(uri, "/added") if strings.Contains(uri, "/added")