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