9 lines
433 B
Plaintext
Raw Normal View History

component AnimeListItems(animeListItems []*arn.AnimeListItem, nextIndex int, viewUser *arn.User, user *arn.User)
if len(animeListItems) == 0
2018-11-06 05:43:36 +00:00
if user != nil && user.ID == viewUser.ID
p.no-data.mountable= "You haven't added any anime to this list yet."
else
p.no-data.mountable= viewUser.Nick + " hasn't added any anime to this list yet."
else
.anime-list-container
AnimeList(animeListItems, nextIndex, viewUser, user)