Fixed inactive users
This commit is contained in:
parent
b7786b1d51
commit
f30056363b
@ -44,11 +44,11 @@ component Anime(anime *arn.Anime, friends []*arn.User, listItems map[*arn.User]*
|
|||||||
if friend.Nick != ""
|
if friend.Nick != ""
|
||||||
if friend.IsActive()
|
if friend.IsActive()
|
||||||
.mountable
|
.mountable
|
||||||
CustomAvatar(friend, listItems[friend].Link(friend.Nick), friend.Nick + " => " + listItems[friend].Status + " | " + toString(listItems[friend].Episodes) + " eps | " + fmt.Sprintf("%.1f", listItems[friend].Rating.Overall) + " rating")
|
FriendEntry(friend, listItems)
|
||||||
else
|
else
|
||||||
.mountable
|
.mountable
|
||||||
.inactive-user
|
.inactive-user
|
||||||
Avatar(friend)
|
FriendEntry(friend, listItems)
|
||||||
|
|
||||||
h3.anime-section-name Ratings
|
h3.anime-section-name Ratings
|
||||||
.anime-rating-categories
|
.anime-rating-categories
|
||||||
@ -236,3 +236,6 @@ component Anime(anime *arn.Anime, friends []*arn.User, listItems map[*arn.User]*
|
|||||||
//- li.anime-japanese-title= anime.title.japanese
|
//- li.anime-japanese-title= anime.title.japanese
|
||||||
//- each synonym in anime.title.synonyms
|
//- each synonym in anime.title.synonyms
|
||||||
//- li= synonym
|
//- li= synonym
|
||||||
|
|
||||||
|
component FriendEntry(friend *arn.User, listItems map[*arn.User]*arn.AnimeListItem)
|
||||||
|
CustomAvatar(friend, listItems[friend].Link(friend.Nick), friend.Nick + " => " + listItems[friend].Status + " | " + toString(listItems[friend].Episodes) + " eps | " + fmt.Sprintf("%.1f", listItems[friend].Rating.Overall) + " rating")
|
||||||
|
Loading…
Reference in New Issue
Block a user