2018-11-24 06:57:52 +00:00
|
|
|
//- component ProfileForumTabs(viewUser *arn.User)
|
|
|
|
//- .tabs
|
|
|
|
//- Tab("Threads", "list", "/+" + viewUser.Nick + "/forum/threads")
|
|
|
|
//- Tab("Posts", "comments", "/+" + viewUser.Nick + "/forum/posts")
|
2017-11-17 10:00:49 +00:00
|
|
|
|
2018-11-24 06:57:52 +00:00
|
|
|
//- component LatestPosts(postables []arn.Postable, viewUser *arn.User, user *arn.User, uri string)
|
|
|
|
//- ProfileHeader(viewUser, user, uri)
|
|
|
|
//- ProfileForumTabs(viewUser)
|
2017-07-03 15:21:00 +00:00
|
|
|
|
2018-11-24 06:57:52 +00:00
|
|
|
//- if len(postables) > 0
|
|
|
|
//- h1.page-title= len(postables), " latest posts by ", postables[0].Creator().Nick
|
|
|
|
//- PostableList(postables, user)
|
|
|
|
//- else
|
|
|
|
//- p.no-data.mountable= viewUser.Nick + " hasn't written any posts yet."
|