19 lines
546 B
Plaintext
19 lines
546 B
Plaintext
//- component ProfileFollowers(followers []*arn.User, viewUser *arn.User, user *arn.User, uri string)
|
|
//- ProfileHeader(viewUser, user, uri)
|
|
|
|
//- if len(followers) > 0
|
|
//- UserGrid(followers)
|
|
//- else
|
|
//- p.no-data.mountable= viewUser.Nick + " doesn't have a follower yet."
|
|
|
|
//- 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) |