2018-11-24 06:57:52 +00:00
|
|
|
//- component ProfileFollowers(followers []*arn.User, viewUser *arn.User, user *arn.User, uri string)
|
|
|
|
//- ProfileHeader(viewUser, user, uri)
|
2017-07-21 09:01:34 +00:00
|
|
|
|
2018-11-24 06:57:52 +00:00
|
|
|
//- if len(followers) > 0
|
|
|
|
//- UserGrid(followers)
|
|
|
|
//- else
|
|
|
|
//- p.no-data.mountable= viewUser.Nick + " doesn't have a follower yet."
|
2017-07-21 09:25:53 +00:00
|
|
|
|
2018-11-24 06:57:52 +00:00
|
|
|
//- component UserGrid(users []*arn.User)
|
|
|
|
//- .user-avatars
|
|
|
|
//- each user in users
|
|
|
|
//- if user.Nick != ""
|
|
|
|
//- if user.IsActive()
|
|
|
|
//- .mountable
|
|
|
|
//- Avatar(user)
|
|
|
|
//- else
|
|
|
|
//- .mountable
|
|
|
|
//- .inactive-user
|
|
|
|
//- Avatar(user)
|