QoL improvements
This commit is contained in:
parent
cacb804a19
commit
5a6fcac34c
@ -53,16 +53,22 @@ component Profile(viewUser *arn.User, user *arn.User, animeList *arn.AnimeList,
|
|||||||
h3 Anime
|
h3 Anime
|
||||||
|
|
||||||
.anime-list
|
.anime-list
|
||||||
each item in animeList.Items
|
if len(animeList.Items) == 0
|
||||||
a.anime-list-item.ajax(href=item.Anime().Link(), title=item.Anime().Title.Canonical + " (" + toString(item.Episode) + " / " + arn.EpisodesToString(item.Anime().EpisodeCount) + ")")
|
p No anime in the collection.
|
||||||
img.anime-cover-image.anime-list-item-image(src=item.Anime().Image.Tiny, alt=item.Anime().Title.Canonical)
|
else
|
||||||
|
each item in animeList.Items
|
||||||
|
a.anime-list-item.ajax(href=item.Anime().Link(), title=item.Anime().Title.Canonical + " (" + toString(item.Episode) + " / " + arn.EpisodesToString(item.Anime().EpisodeCount) + ")")
|
||||||
|
img.anime-cover-image.anime-list-item-image(src=item.Anime().Image.Tiny, alt=item.Anime().Title.Canonical)
|
||||||
|
|
||||||
.profile-category
|
.profile-category
|
||||||
h3 Forum
|
h3 Forum
|
||||||
|
|
||||||
each thread in threads
|
if len(animeList.Items) == 0
|
||||||
ThreadLink(thread)
|
p No activity on the forum.
|
||||||
|
else
|
||||||
|
each thread in threads
|
||||||
|
ThreadLink(thread)
|
||||||
|
|
||||||
.side-note
|
.side-note
|
||||||
a.ajax(href="/+" + viewUser.Nick + "/threads") View all threads
|
a.ajax(href="/+" + viewUser.Nick + "/threads") View all threads
|
||||||
|
|
Loading…
Reference in New Issue
Block a user