Merge pull request #15 from smthbh/Feature-WowheadLinks
change quest links to wowhead
This commit is contained in:
commit
a987079366
6 changed files with 7 additions and 3 deletions
|
|
@ -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=""
|
||||||
|
|
|
||||||
|
|
@ -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": "",
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue