Sceneria: przeniesiono link do wątku forum

This commit is contained in:
2022-07-12 11:14:56 +02:00
parent 825e25434a
commit 506064cf9a
4 changed files with 18 additions and 20 deletions
+2 -6
View File
@@ -1,11 +1,7 @@
<template> <template>
<section class="info-header"> <section class="info-header">
<div class="scenery-name"> <div class="scenery-name">
<a v-if="station.generalInfo?.url" :href="station.generalInfo.url" target="_blank" rel="noopener noreferrer"> {{ station.name }}
{{ station.name }}
</a>
<span v-else>{{ station.name }}</span>
</div> </div>
<div class="scenery-hash" v-if="station.onlineInfo?.hash">#{{ station.onlineInfo.hash }}</div> <div class="scenery-hash" v-if="station.onlineInfo?.hash">#{{ station.onlineInfo.hash }}</div>
@@ -33,7 +29,6 @@ export default defineComponent({
.scenery-name { .scenery-name {
font-weight: bold; font-weight: bold;
color: $accentCol;
position: relative; position: relative;
@@ -52,3 +47,4 @@ export default defineComponent({
font-size: 1.2em; font-size: 1.2em;
} }
</style> </style>
+10 -12
View File
@@ -11,11 +11,6 @@
<span v-if="station.generalInfo.reqLevel > -1"> <span v-if="station.generalInfo.reqLevel > -1">
- {{ $tc('scenery.req-level', station.generalInfo.reqLevel, { lvl: station.generalInfo.reqLevel }) }} - {{ $tc('scenery.req-level', station.generalInfo.reqLevel, { lvl: station.generalInfo.reqLevel }) }}
</span> </span>
<!-- <span v-if="station.generalInfo.reqLevel > 0">
- minimum {{ station.generalInfo.reqLevel }} poziom dyżurnego
</span>
<span v-else-if="station.generalInfo.reqLevel == 0">- dla wszystkich poziomów</span> -->
</span> </span>
<span> <span>
@@ -41,12 +36,17 @@
<b> {{ $tc('scenery.authors-title', station.generalInfo.authors.length) }}: </b> <b> {{ $tc('scenery.authors-title', station.generalInfo.authors.length) }}: </b>
{{ station.generalInfo.authors.join(', ') }} {{ station.generalInfo.authors.join(', ') }}
</div> </div>
<br />
<div class="scenery-topic" v-if="station.generalInfo.url">
<a :href="station.generalInfo.url" target="_blank">
&gt; {{ $t('scenery.forum-topic', { name: station.name }) }} &lt;
</a>
</div>
</div> </div>
<div style="margin: 2em 0; height: 2px; background-color: white" /> <div style="margin: 2em 0; height: 2px; background-color: white" />
<!-- info stats -->
<!-- <scenery-info-stats :station="station" /> -->
<!-- info dispatcher --> <!-- info dispatcher -->
<scenery-info-dispatcher :station="station" :onlineFrom="onlineFrom" /> <scenery-info-dispatcher :station="station" :onlineFrom="onlineFrom" />
@@ -57,10 +57,6 @@
<!-- spawn list --> <!-- spawn list -->
<scenery-info-spawn-list :station="station" /> <scenery-info-spawn-list :station="station" />
</div> </div>
<!-- info icons -->
<!-- info routes -->
</section> </section>
</div> </div>
</template> </template>
@@ -144,5 +140,7 @@ h3.section-header {
} }
} }
.scenery-topic a {
font-weight: bold;
}
</style> </style>
+3 -1
View File
@@ -258,7 +258,9 @@
"timetable-author-unknown": "Author unknown", "timetable-author-unknown": "Author unknown",
"req-level": "all dispatcher levels | dispatcher level {lvl} required | dispatcher level {lvl} required", "req-level": "all dispatcher levels | dispatcher level {lvl} required | dispatcher level {lvl} required",
"history-list-empty": "No recorded scenery history!" "history-list-empty": "No recorded scenery history!",
"forum-topic": "Official {name} forum topic"
}, },
"availability": { "availability": {
"title": "Availability", "title": "Availability",
+3 -1
View File
@@ -259,7 +259,9 @@
"timetable-author-unknown": "Autor nieznany", "timetable-author-unknown": "Autor nieznany",
"req-level": "ogólnodostępna | minimum {lvl} poziom dyżurnego | minimum {lvl} poziom dyżurnego", "req-level": "ogólnodostępna | minimum {lvl} poziom dyżurnego | minimum {lvl} poziom dyżurnego",
"history-list-empty": "Brak historii dla tej scenerii!" "history-list-empty": "Brak historii dla tej scenerii!",
"forum-topic": "Oficjalny wątek scenerii {name}"
}, },
"availability": { "availability": {
"title": "Dostępność", "title": "Dostępność",