More changes

This commit is contained in:
FM1337
2017-06-22 14:38:01 -03:00
parent d52fe46e9a
commit 752e3cc682
5 changed files with 19 additions and 31 deletions

View File

@ -68,6 +68,7 @@ component Profile(viewUser *arn.User, user *arn.User, animeList *arn.AnimeList,
else
each thread in threads
ThreadLink(thread)
.profile-category.mountable
h3
a.ajax(href="/+" + viewUser.Nick + "/posts", title="View all posts") Posts
if len(posts) == 0
@ -78,7 +79,7 @@ component Profile(viewUser *arn.User, user *arn.User, animeList *arn.AnimeList,
.post-author
Avatar(post.Author())
.post-content
p!= aero.Markdown(post.Text)
.mountable!= aero.Markdown(post.Text)
.post-toolbar.active
.spacer
.post-likes= len(post.Likes)