22 lines
703 B
Plaintext
Raw Normal View History

2017-07-12 06:24:26 +00:00
component ImportKitsu(user *arn.User, matches []*arn.KitsuMatch)
2017-11-20 08:39:47 +00:00
h1= "Preview: kitsu.io (" + user.Accounts.Kitsu.Nick + ", " + toString(len(matches)) + " anime)"
ImportButton("/import/kitsu/animelist/finish")
2017-07-12 06:24:26 +00:00
table.import-list
thead
tr
th kitsu.io
th notify.moe
tbody
each match in matches
tr
td
a(href=match.KitsuItem.Anime.Link(), target="_blank", rel="noopener")= match.KitsuItem.Anime.Attributes.CanonicalTitle
td
if match.ARNAnime == nil
span.import-error Not found on notify.moe
else
a(href=match.ARNAnime.Link(), target="_blank", rel="noopener")= match.ARNAnime.Title.Canonical
2017-11-20 08:39:47 +00:00
ImportButton("/import/kitsu/animelist/finish")