14 lines
531 B
Plaintext
Raw Normal View History

2017-06-19 20:16:01 +00:00
component AnimeList(animeList *arn.AnimeList)
table.anime-list
thead
tr
2017-06-20 18:13:04 +00:00
th.anime-list-item-name Anime
th.anime-list-item-episodes Progress
th.anime-list-item-rating Rating
2017-06-19 20:16:01 +00:00
tbody
each item in animeList.Items
2017-06-21 12:00:52 +00:00
tr.anime-list-item.mountable(title=item.Notes)
2017-06-20 18:13:04 +00:00
td.anime-list-item-name
2017-06-20 10:41:26 +00:00
a.ajax(href=item.Anime().Link())= item.Anime().Title.Canonical
2017-06-20 18:13:04 +00:00
td.anime-list-item-episodes= toString(item.Episodes) + " / " + item.Anime().EpisodeCountString()
td.anime-list-item-rating= item.FinalRating()