Updated group pages

This commit is contained in:
Eduard Urbach 2018-11-05 10:42:04 +09:00
parent 97525f0940
commit 1ffa6c3461

View File

@ -24,17 +24,8 @@ component Group(group *arn.Group, user *arn.User)
each member in group.Members
Avatar(member.User())
.group-feed.mountable
if user != nil
NewPostArea(user, "Content")
.buttons
button.action(data-action="newGroupPost", data-trigger="click")
Icon("check")
span Publish
each post in group.Posts()
p!= post.HTML()
.group-feed
Comments(group, user)
component GroupTabs(group *arn.Group, user *arn.User)
.tabs