Improved user profiles

This commit is contained in:
2017-07-03 17:33:57 +02:00
parent dd974ed99a
commit 4f6ffd969d
9 changed files with 25 additions and 14 deletions

View File

@ -1,5 +1,8 @@
component ProfileThreads(threads []*arn.Thread, viewUser *arn.User, user *arn.User)
ProfileHeader(viewUser, user)
.forum
ThreadList(threads)
if len(threads) == 0
p.no-data.mountable= viewUser.Nick + " hasn't written any threads yet."
else
.forum
ThreadList(threads)