8 lines
328 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)
.tabs
Tab("Posts", "comment", group.Link())
Tab("Info", "info-circle", group.Link() + "/info")
Tab("Members", "globe", group.Link() + "/members")
if member != nil && member.Role == "founder"
Tab("Edit", "pencil", group.Link() + "/edit")