change quest links to wowhead

This commit is contained in:
smthbh 2025-04-28 21:49:07 -04:00
parent acc1655c92
commit 7afa4cde14
6 changed files with 7 additions and 3 deletions

View file

@ -1,4 +1,5 @@
ACORE_ARMORY_AOWOW_URL="https://wowgaming.altervista.org/aowow" 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_URL="https://mywebsite.com"
ACORE_ARMORY_WEBSITE_NAME="My Website" ACORE_ARMORY_WEBSITE_NAME="My Website"
ACORE_ARMORY_WEBSITE_ROOT="" ACORE_ARMORY_WEBSITE_ROOT=""

View file

@ -1,5 +1,6 @@
{ {
"aowowUrl": "https://wowgaming.altervista.org/aowow", "aowowUrl": "https://wowgaming.altervista.org/aowow",
"wowheadUrl": "https://www.wowhead.com/wotlk",
"websiteUrl": "https://mywebsite.com", "websiteUrl": "https://mywebsite.com",
"websiteName": "My Website", "websiteName": "My Website",
"websiteRoot": "", "websiteRoot": "",

View file

@ -81,6 +81,7 @@ export class Armory {
const locals = { const locals = {
aowow: this.config.aowowUrl, aowow: this.config.aowowUrl,
wowhead: this.config.wowheadUrl,
websiteUrl: this.config.websiteUrl, websiteUrl: this.config.websiteUrl,
websiteName: this.config.websiteName, websiteName: this.config.websiteName,
websiteRoot: this.config.websiteRoot, websiteRoot: this.config.websiteRoot,

View file

@ -25,6 +25,7 @@ export interface IIframeModeConfig {
export class Config { export class Config {
public aowowUrl: string; public aowowUrl: string;
public wowheadUrl: string;
public websiteUrl: string; public websiteUrl: string;
public websiteName: string; public websiteName: string;
public websiteRoot: string; public websiteRoot: string;

View file

@ -84,7 +84,7 @@
{{#each this}} {{#each this}}
<tr class="{{getDiffClass this}}"> <tr class="{{getDiffClass this}}">
<td class="quest-name"> <td class="quest-name">
<a href="{{@root.aowow}}/?quest={{this.id}}">{{this.title}}</a> <a href="{{@root.wowhead}}/quest={{this.id}}">{{this.title}}</a>
</td> </td>
<td class="quest-level">{{this.questLevel}}</td> <td class="quest-level">{{this.questLevel}}</td>
<td class="quest-status {{this.char1Status}}">{{this.char1Status}}</td> <td class="quest-status {{this.char1Status}}">{{this.char1Status}}</td>

View file

@ -67,7 +67,7 @@
{{#each quests}} {{#each quests}}
{{#if (eq this.status "In Progress")}} {{#if (eq this.status "In Progress")}}
<tr> <tr>
<td class="quest-name"><a href="{{@root.aowow}}/?quest={{this.id}}">{{this.title}}</a></td> <td class="quest-name"><a href="{{@root.wowhead}}/quest={{this.id}}">{{this.title}}</a></td>
<td class="quest-level">{{this.questLevel}}</td> <td class="quest-level">{{this.questLevel}}</td>
<td class="quest-status {{this.status}}">{{this.status}}</td> <td class="quest-status {{this.status}}">{{this.status}}</td>
</tr> </tr>
@ -95,7 +95,7 @@
{{#each quests}} {{#each quests}}
{{#if (eq this.status "Completed")}} {{#if (eq this.status "Completed")}}
<tr> <tr>
<td class="quest-name"><a href="{{@root.aowow}}/?quest={{this.id}}">{{this.title}}</a></td> <td class="quest-name"><a href="{{@root.wowhead}}/quest={{this.id}}">{{this.title}}</a></td>
<td class="quest-level">{{this.questLevel}}</td> <td class="quest-level">{{this.questLevel}}</td>
<td class="quest-status {{this.status}}">{{this.status}}</td> <td class="quest-status {{this.status}}">{{this.status}}</td>
</tr> </tr>