From 6b02c4ae361b2ca7d773b3805d97dfebc6c6556a Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Tue, 21 Nov 2017 18:05:43 +0100 Subject: [PATCH] Added Overwatch icon --- images/icons/overwatch.svg | 1 + pages/profile/profile.pixy | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 images/icons/overwatch.svg diff --git a/images/icons/overwatch.svg b/images/icons/overwatch.svg new file mode 100644 index 00000000..796abe78 --- /dev/null +++ b/images/icons/overwatch.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/pages/profile/profile.pixy b/pages/profile/profile.pixy index 090bc2bd..b9caf91a 100644 --- a/pages/profile/profile.pixy +++ b/pages/profile/profile.pixy @@ -62,6 +62,11 @@ component ProfileHead(viewUser *arn.User, user *arn.User, uri string) Icon("trophy") a(href="https://osu.ppy.sh/u/" + viewUser.Accounts.Osu.Nick, target="_blank", rel="noopener")= toString(int(viewUser.Accounts.Osu.PP)) + " pp" + 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" + //- if viewUser.dataEditCount //- p.profile-field.editor-contribution(title="Anime data modifications") //- Icon("edit")