Improved groups
This commit is contained in:
@ -4,7 +4,7 @@ component Groups(groups []*arn.Group, groupsPerPage int, user *arn.User)
|
||||
|
||||
h1.page-title Groups
|
||||
|
||||
.buttons
|
||||
.corner-buttons
|
||||
if user != nil
|
||||
if user.DraftIndex().GroupID == ""
|
||||
button.action(data-action="newObject", data-trigger="click", data-type="group")
|
||||
@ -19,6 +19,7 @@ component Groups(groups []*arn.Group, groupsPerPage int, user *arn.User)
|
||||
each group in groups
|
||||
a.group.mountable.ajax(href=group.Link())
|
||||
img.group-image.lazy(data-src=group.ImageURL(), alt=group.Name)
|
||||
|
||||
.group-info
|
||||
h3.group-name= group.Name
|
||||
.group-tagline= group.Tagline
|
||||
|
Reference in New Issue
Block a user