25 lines
765 B
Plaintext
Raw Normal View History

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