Followers

This commit is contained in:
2017-07-21 11:01:34 +02:00
parent f9fa926644
commit c0e324cefd
4 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,11 @@
component ProfileFollowers(followers []*arn.User, viewUser *arn.User, user *arn.User, uri string)
ProfileHeader(viewUser, user, uri)
if len(followers) > 0
.user-avatars
each user in followers
if user.Nick != ""
.mountable
Avatar(user)
else
p.no-data.mountable= viewUser.Nick + " doesn't have a follower yet."