Improved group join and leave

This commit is contained in:
2018-11-22 11:13:39 +09:00
parent deba81e11f
commit da08f80247
4 changed files with 11 additions and 6 deletions

View File

@ -1,6 +1,7 @@
component Groups(groups []*arn.Group, nextIndex int, user *arn.User)
.tabs
Tab("Groups", "users", "/groups")
Tab("Latest", "users", "/groups")
Tab("Popular", "globe", "/groups/popular")
h1.page-title Groups

View File

@ -9,8 +9,8 @@ import (
)
const (
groupsFirstLoad = 12
groupsPerScroll = 9
groupsFirstLoad = 24
groupsPerScroll = 12
)
// render renders the groups page with the given groups.