Finished anilist importer

This commit is contained in:
2017-07-05 00:40:03 +02:00
parent 788adcaf2d
commit 5774c51ced
4 changed files with 67 additions and 36 deletions

View File

@ -35,28 +35,6 @@ func Profile(ctx *aero.Context, viewUser *arn.User) string {
user = utils.GetUser(ctx)
}, func() {
animeList = viewUser.AnimeList()
}, func() {
// threads = viewUser.Threads()
// arn.SortThreadsLatestFirst(threads)
// if len(threads) > maxPosts {
// threads = threads[:maxPosts]
// }
}, func() {
// posts = viewUser.Posts()
// arn.SortPostsLatestFirst(posts)
// if len(posts) > maxPosts {
// posts = posts[:maxPosts]
// }
}, func() {
// tracks = viewUser.SoundTracks()
// arn.SortSoundTracksLatestFirst(tracks)
// if len(tracks) > maxTracks {
// tracks = tracks[:maxTracks]
// }
})
return ctx.HTML(components.Profile(viewUser, user, animeList, threads, posts, tracks))