25 lines
746 B
Plaintext
Raw Normal View History

2017-07-03 19:33:52 +02:00
component ImportLists(user *arn.User)
2017-11-20 09:39:47 +01:00
if user.Accounts.AniList.Nick == "" && user.Accounts.Kitsu.Nick == "" && user.Accounts.MyAnimeList.Nick == ""
p Import your list once you enter your username!
2017-07-09 04:22:14 +02:00
if user.Accounts.AniList.Nick != ""
label AniList:
2017-10-09 15:47:40 +02:00
.widget-section
2017-07-09 04:22:14 +02:00
a.button.mountable.ajax(href="/import/anilist/animelist")
Icon("download")
span Import AniList
2017-07-12 08:24:26 +02:00
if user.Accounts.Kitsu.Nick != ""
label Kitsu:
2017-10-09 15:47:40 +02:00
.widget-section
2017-07-12 08:24:26 +02:00
a.button.mountable.ajax(href="/import/kitsu/animelist")
Icon("download")
span Import Kitsu
2017-07-09 04:22:14 +02:00
if user.Accounts.MyAnimeList.Nick != ""
label MyAnimeList:
2017-10-09 15:47:40 +02:00
.widget-section
2017-07-09 04:22:14 +02:00
a.button.mountable.ajax(href="/import/myanimelist/animelist")
Icon("download")
span Import MyAnimeList