10 lines
462 B
Plaintext
Raw Normal View History

2018-11-21 09:12:29 +00:00
component GroupTabs(group *arn.Group, member *arn.GroupMember, user *arn.User)
2018-11-22 07:52:29 +00:00
.tabs.mountable.never-unmount
2018-11-21 09:12:29 +00:00
Tab("Posts", "comment", group.Link())
Tab("Info", "info-circle", group.Link() + "/info")
2018-11-22 07:52:29 +00:00
Tab("Members", "user", group.Link() + "/members")
2018-11-21 09:12:29 +00:00
if member != nil && member.Role == "founder"
2018-11-21 11:35:25 +00:00
Tab("Edit", "pencil", group.Link() + "/edit")
2018-11-22 08:16:39 +00:00
Tab("Image", "image", group.Link() + "/edit/image")
2018-11-22 04:36:04 +00:00
Tab("History", "history", group.Link() + "/history")