diff --git a/.env.example b/.env.example index 6e0f6a1..d7d2550 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,5 @@ ACORE_ARMORY_AOWOW_URL="https://wowgaming.altervista.org/aowow" +ACORE_ARMORY_WOWHEAD_URL="https://www.wowhead.com/wotlk" ACORE_ARMORY_WEBSITE_URL="https://mywebsite.com" ACORE_ARMORY_WEBSITE_NAME="My Website" ACORE_ARMORY_WEBSITE_ROOT="" diff --git a/config.default.json b/config.default.json index 3c65a39..2b6bcf2 100644 --- a/config.default.json +++ b/config.default.json @@ -1,5 +1,6 @@ { "aowowUrl": "https://wowgaming.altervista.org/aowow", + "wowheadUrl": "https://www.wowhead.com/wotlk", "websiteUrl": "https://mywebsite.com", "websiteName": "My Website", "websiteRoot": "", diff --git a/src/armory/Armory.ts b/src/armory/Armory.ts index 536cc2b..5ab9f66 100644 --- a/src/armory/Armory.ts +++ b/src/armory/Armory.ts @@ -81,6 +81,7 @@ export class Armory { const locals = { aowow: this.config.aowowUrl, + wowhead: this.config.wowheadUrl, websiteUrl: this.config.websiteUrl, websiteName: this.config.websiteName, websiteRoot: this.config.websiteRoot, diff --git a/src/armory/Config.ts b/src/armory/Config.ts index 4ae6283..905159a 100644 --- a/src/armory/Config.ts +++ b/src/armory/Config.ts @@ -25,6 +25,7 @@ export interface IIframeModeConfig { export class Config { public aowowUrl: string; + public wowheadUrl: string; public websiteUrl: string; public websiteName: string; public websiteRoot: string; diff --git a/static/character-quests-compare.hbs b/static/character-quests-compare.hbs index cec7caa..5a77e24 100644 --- a/static/character-quests-compare.hbs +++ b/static/character-quests-compare.hbs @@ -84,7 +84,7 @@ {{#each this}} - {{this.title}} + {{this.title}} {{this.questLevel}} {{this.char1Status}} diff --git a/static/character-quests.hbs b/static/character-quests.hbs index f6a85cf..a94ad08 100644 --- a/static/character-quests.hbs +++ b/static/character-quests.hbs @@ -67,7 +67,7 @@ {{#each quests}} {{#if (eq this.status "In Progress")}} - {{this.title}} + {{this.title}} {{this.questLevel}} {{this.status}} @@ -95,7 +95,7 @@ {{#each quests}} {{#if (eq this.status "Completed")}} - {{this.title}} + {{this.title}} {{this.questLevel}} {{this.status}}