mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
chore: restored Pragotron link
This commit is contained in:
@@ -14,6 +14,10 @@
|
||||
</span>
|
||||
|
||||
<span class="header_links" v-if="station">
|
||||
<a :href="pragotronHref" target="_blank" :title="$t('scenery.pragotron-link')">
|
||||
<img src="/images/icon-pragotron.svg" alt="icon-pragotron" />
|
||||
</a>
|
||||
|
||||
<a :href="tabliceZbiorczeHref" target="_blank" :title="$t('scenery.tablice-link')">
|
||||
<img src="/images/icon-tablice.ico" alt="icon-tablice" />
|
||||
</a>
|
||||
@@ -250,6 +254,13 @@ export default defineComponent({
|
||||
return url;
|
||||
},
|
||||
|
||||
pragotronHref() {
|
||||
let url = `https://pragotron-td2.web.app/board?name=${this.station!.name}®ion=${this.store.region.id}`;
|
||||
if (this.chosenCheckpoint) url += `&checkpoint=${this.chosenCheckpoint}`;
|
||||
|
||||
return url;
|
||||
},
|
||||
|
||||
sceneryTimetables(): SceneryTimetableRow[] {
|
||||
if (!this.onlineScenery) return [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user