2017-07-22 15:04:54 +02:00
|
|
|
component ProfileAnimeListFilteredByStatus(animeList *arn.AnimeList, viewUser *arn.User, user *arn.User, status string, uri string)
|
2017-07-06 03:24:56 +02:00
|
|
|
ProfileHeader(viewUser, user, uri)
|
2017-07-05 16:52:24 +02:00
|
|
|
|
2018-03-14 16:15:35 +01:00
|
|
|
AnimeListFilteredByStatus(animeList.Items, -1, viewUser, user, status)
|
2017-07-22 15:04:54 +02:00
|
|
|
|
2018-03-14 16:15:35 +01:00
|
|
|
component AnimeListFilteredByStatus(animeListItems []*arn.AnimeListItem, nextIndex int, viewUser *arn.User, user *arn.User, status string)
|
|
|
|
if len(animeListItems) == 0
|
2017-07-05 16:52:24 +02:00
|
|
|
p.no-data.mountable= viewUser.Nick + " hasn't added any anime to this list yet."
|
|
|
|
else
|
2018-03-14 01:29:45 +01:00
|
|
|
.anime-list-container
|
2017-07-22 15:04:54 +02:00
|
|
|
//- h3.status-name= arn.ListItemStatusName(status)
|
2018-03-14 16:15:35 +01:00
|
|
|
AnimeList(animeListItems, nextIndex, viewUser, user)
|