Renamed template
This commit is contained in:
parent
5b05d82b7d
commit
04ac4057a9
@ -53,5 +53,5 @@ func render(ctx *aero.Context, fetch func(userID string) []*arn.SoundTrack) stri
|
||||
}
|
||||
|
||||
// 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()))
|
||||
}
|
||||
|
@ -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)
|
||||
|
||||
if strings.Contains(uri, "/added")
|
||||
|
Loading…
Reference in New Issue
Block a user