From b4d0df2eb7020fb8339065f168a77737680acaa1 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Wed, 31 Oct 2018 07:24:14 +0900 Subject: [PATCH] Removed game links from user profile temporarily --- .vscode/settings.json | 11 ++++++++++- pages/profile/profile.pixy | 16 ++++++++-------- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index e8d95e83..194cebf0 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -6,7 +6,16 @@ "**/*.js": { "when": "$(basename).ts" }, - "components/": true + "components/": true, + "jobs/mal-download/anime/": true, + "jobs/mal-download/character/": true + }, + "files.watcherExclude": { + "**/.git/objects/**": true, + "**/.git/subtree-cache/**": true, + "**/node_modules/*/**": true, + "**/mal-download/anime/**": true, + "**/mal-download/character/**": true }, "files.associations": { "*.pixy": "jade", diff --git a/pages/profile/profile.pixy b/pages/profile/profile.pixy index 5cc5652d..63dac43e 100644 --- a/pages/profile/profile.pixy +++ b/pages/profile/profile.pixy @@ -65,15 +65,15 @@ component ProfileHead(viewUser *arn.User, user *arn.User, uri string) Icon("home") a(href=viewUser.WebsiteURL(), target="_blank", rel="nofollow")= viewUser.WebsiteShortURL() - if viewUser.Accounts.Osu.Nick != "" && viewUser.Accounts.Osu.PP >= 100 - p.profile-field.osu(title="osu! Level " + fmt.Sprint(int(viewUser.Accounts.Osu.Level)) + " | Accuracy: " + fmt.Sprintf("%.1f", viewUser.Accounts.Osu.Accuracy) + "%") - Icon("trophy") - a(href="https://osu.ppy.sh/u/" + viewUser.Accounts.Osu.Nick, target="_blank", rel="noopener")= fmt.Sprint(int(viewUser.Accounts.Osu.PP)) + " pp" + //- if viewUser.Accounts.Osu.Nick != "" && viewUser.Accounts.Osu.PP >= 100 + //- p.profile-field.osu(title="osu! Level " + fmt.Sprint(int(viewUser.Accounts.Osu.Level)) + " | Accuracy: " + fmt.Sprintf("%.1f", viewUser.Accounts.Osu.Accuracy) + "%") + //- Icon("trophy") + //- a(href="https://osu.ppy.sh/u/" + viewUser.Accounts.Osu.Nick, target="_blank", rel="noopener")= fmt.Sprint(int(viewUser.Accounts.Osu.PP)) + " pp" - if viewUser.Accounts.Overwatch.BattleTag != "" && viewUser.Accounts.Overwatch.SkillRating >= 1000 - p.profile-field.overwatch(title=stringutils.Capitalize(viewUser.Accounts.Overwatch.Tier) + " (Overwatch)") - Icon("overwatch") - a(href="https://playoverwatch.com/en-us/career/pc/" + strings.Replace(viewUser.Accounts.Overwatch.BattleTag, "#", "-", 1), target="_blank", rel="noopener")= fmt.Sprint(viewUser.Accounts.Overwatch.SkillRating) + " SR" + //- if viewUser.Accounts.Overwatch.BattleTag != "" && viewUser.Accounts.Overwatch.SkillRating >= 1000 + //- p.profile-field.overwatch(title=stringutils.Capitalize(viewUser.Accounts.Overwatch.Tier) + " (Overwatch)") + //- Icon("overwatch") + //- a(href="https://playoverwatch.com/en-us/career/pc/" + strings.Replace(viewUser.Accounts.Overwatch.BattleTag, "#", "-", 1), target="_blank", rel="noopener")= fmt.Sprint(viewUser.Accounts.Overwatch.SkillRating) + " SR" //- if viewUser.dataEditCount //- p.profile-field.editor-contribution(title="Anime data modifications")