27 lines
721 B
Plaintext
Raw Normal View History

2018-11-21 09:12:29 +00:00
component GroupInfo(group *arn.Group, member *arn.GroupMember, user *arn.User)
GroupTabs(group, member, user)
h1.page-title= fmt.Sprintf("%s - Info", group.Name)
.group-view
if group.Description != ""
.group-info-section
h3.mountable Description
.group-description.mountable!= markdown.Render(group.Description)
if group.Rules != ""
.group-info-section
h3.mountable Rules
.group-rules.mountable!= markdown.Render(group.Rules)
2018-11-21 11:35:25 +00:00
if len(group.Tags) > 0
.group-info-section
h3.mountable Tags
.tags.group-tags.mountable
each tag in group.Tags
.tag= tag
2018-11-21 09:12:29 +00:00
.group-info-section
h3.mountable Founder
.user-avatars.group-founder.mountable
Avatar(group.Creator())