Added Overwatch profile link

This commit is contained in:
Eduard Urbach 2018-03-03 20:44:48 +01:00
parent ac6480186d
commit 195ec9b0fa

View File

@ -69,7 +69,7 @@ component ProfileHead(viewUser *arn.User, user *arn.User, uri string)
if viewUser.Accounts.Overwatch.BattleTag != "" && viewUser.Accounts.Overwatch.SkillRating >= 1000
p.profile-field.overwatch(title=arn.Capitalize(viewUser.Accounts.Overwatch.Tier) + " (Overwatch)")
Icon("overwatch")
span= toString(viewUser.Accounts.Overwatch.SkillRating) + " SR"
a(href="https://playoverwatch.com/en-us/career/pc/" + strings.Replace(viewUser.Accounts.Overwatch.BattleTag, "#", "-", 1), target="_blank", rel="noopener")= toString(viewUser.Accounts.Overwatch.SkillRating) + " SR"
//- if viewUser.dataEditCount
//- p.profile-field.editor-contribution(title="Anime data modifications")