Remove toString calls (upgrade to latest pixy version)

This commit is contained in:
2018-04-25 22:15:42 +02:00
parent a6fea3965c
commit 526a7998bb
14 changed files with 18 additions and 18 deletions

View File

@ -12,10 +12,10 @@ component OsuRankingList(users []*arn.User, url string)
tbody
for index, user := range users
tr.ranking.mountable
td= toString(index + 1) + "."
td= fmt.Sprint(index + 1) + "."
td.ranking-user
Avatar(user)
a.ranking-user-nick(href=user.Link())= user.Nick
td.ranking-score= toString(int(user.Accounts.Osu.PP + 0.5)) + " pp"
td.ranking-score= fmt.Sprint(int(user.Accounts.Osu.PP + 0.5)) + " pp"
td.ranking-accuracy= fmt.Sprintf("%.1f", user.Accounts.Osu.Accuracy) + "%"