Removed ajax class (not required anymore)

This commit is contained in:
2018-03-23 21:33:19 +01:00
parent 5e4afa9748
commit ccd6e860cf
46 changed files with 90 additions and 90 deletions

View File

@ -7,7 +7,7 @@ component Profile(viewUser *arn.User, user *arn.User, animeList *arn.AnimeList,
.profile-watching-list.mountable
each item in animeList.Items
if item.Status == arn.AnimeListStatusWatching || item.Status == arn.AnimeListStatusCompleted
a.profile-watching-list-item.ajax(href=item.Anime().Link(), title=item.Anime().Title.ByUser(user) + " (" + toString(item.Episodes) + " / " + arn.EpisodesToString(item.Anime().EpisodeCount) + ")")
a.profile-watching-list-item(href=item.Anime().Link(), title=item.Anime().Title.ByUser(user) + " (" + toString(item.Episodes) + " / " + arn.EpisodesToString(item.Anime().EpisodeCount) + ")")
img.profile-watching-list-item-image.lazy(data-src=item.Anime().ImageLink("small"), data-webp="true", data-color=item.Anime().AverageColor(), alt=item.Anime().Title.ByUser(user))
.footer
@ -97,7 +97,7 @@ component ProfileHead(viewUser *arn.User, user *arn.User, uri string)
if viewUser.IsPro()
p.profile-field.profile-pro-status
a.ajax(href="/shop", title="PRO user")
a(href="/shop", title="PRO user")
Icon("star")
span.profile-pro-status-text PRO
@ -113,16 +113,16 @@ component ProfileHead(viewUser *arn.User, user *arn.User, uri string)
Icon("user-times")
span Unfollow
a.button.profile-action.ajax(href="/+" + viewUser.Nick + "/animelist/watching")
a.button.profile-action(href="/+" + viewUser.Nick + "/animelist/watching")
Icon("list")
span Anime list
if user != nil && user.ID != viewUser.ID
a.button.profile-action.ajax(href="/compare/animelist/" + user.Nick + "/" + viewUser.Nick)
a.button.profile-action(href="/compare/animelist/" + user.Nick + "/" + viewUser.Nick)
Icon("exchange")
span Compare
a.button.profile-action.ajax(href="/+" + viewUser.Nick + "/recommended/anime")
a.button.profile-action(href="/+" + viewUser.Nick + "/recommended/anime")
Icon("archive")
span Recomms