Export button is back

This commit is contained in:
Eduard Urbach 2018-03-24 17:19:45 +01:00
parent 0ec3ae174a
commit 504d42fb52

View File

@ -262,7 +262,6 @@ component SettingsAccounts(user *arn.User)
Icon("check")
span Connected
else
Icon("circle-o")
span Not connected
@ -273,13 +272,14 @@ component SettingsAccounts(user *arn.User)
ImportLists(user)
//- .widget.mountable
//- h3.widget-title
//- Icon("upload")
//- span Export
if len(user.AnimeList().Items) > 0
.widget.mountable
h3.widget-title
Icon("upload")
span Export
//- .widget-section
//- label JSON:
//- a.button(href="/api/animelist/" + user.ID)
//- Icon("upload")
//- span Export anime list as JSON
.widget-section
label JSON:
a.button(href="/api/animelist/" + user.ID, target="_blank")
Icon("upload")
span Export anime list as JSON