Fixed profile links
This commit is contained in:
parent
574ac9e885
commit
406306df37
@ -20,7 +20,7 @@ component ProfileHeader(viewUser *arn.User, user *arn.User, uri string)
|
|||||||
if viewUser.Website != ""
|
if viewUser.Website != ""
|
||||||
p.profile-field.website
|
p.profile-field.website
|
||||||
Icon("home")
|
Icon("home")
|
||||||
a(href=viewUser.WebsiteURL(), target="_blank", rel="nofollow")= viewUser.Website
|
a(href=viewUser.WebsiteURL(), target="_blank", rel="nofollow")= viewUser.WebsiteShortURL()
|
||||||
|
|
||||||
if viewUser.Accounts.Osu.Nick != "" && viewUser.Accounts.Osu.PP >= 1000
|
if viewUser.Accounts.Osu.Nick != "" && viewUser.Accounts.Osu.PP >= 1000
|
||||||
p.profile-field.osu(title="osu! Level " + toString(int(viewUser.Accounts.Osu.Level)) + " | Accuracy: " + fmt.Sprintf("%.1f", viewUser.Accounts.Osu.Accuracy) + "%")
|
p.profile-field.osu(title="osu! Level " + toString(int(viewUser.Accounts.Osu.Level)) + " | Accuracy: " + fmt.Sprintf("%.1f", viewUser.Accounts.Osu.Accuracy) + "%")
|
||||||
|
Loading…
Reference in New Issue
Block a user