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>
<section class="info-header">
<div class="scenery-name">
<a v-if="station.generalInfo?.url" :href="station.generalInfo.url" target="_blank" rel="noopener noreferrer">
{{ station.name }}
</a>
<span v-else>{{ station.name }}</span>
{{ station.name }}
</div>
<div class="scenery-hash" v-if="station.onlineInfo?.hash">#{{ station.onlineInfo.hash }}</div>
@@ -33,7 +29,6 @@ export default defineComponent({
.scenery-name {
font-weight: bold;
color: $accentCol;
position: relative;
@@ -52,3 +47,4 @@ export default defineComponent({
font-size: 1.2em;
}
</style>
+10 -12
View File
@@ -11,11 +11,6 @@
<span v-if="station.generalInfo.reqLevel > -1">
- {{ $tc('scenery.req-level', station.generalInfo.reqLevel, { lvl: station.generalInfo.reqLevel }) }}
</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>
@@ -41,12 +36,17 @@
<b> {{ $tc('scenery.authors-title', station.generalInfo.authors.length) }}: </b>
{{ station.generalInfo.authors.join(', ') }}
</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 style="margin: 2em 0; height: 2px; background-color: white" />
<!-- info stats -->
<!-- <scenery-info-stats :station="station" /> -->
<!-- info dispatcher -->
<scenery-info-dispatcher :station="station" :onlineFrom="onlineFrom" />
@@ -57,10 +57,6 @@
<!-- spawn list -->
<scenery-info-spawn-list :station="station" />
</div>
<!-- info icons -->
<!-- info routes -->
</section>
</div>
</template>
@@ -144,5 +140,7 @@ h3.section-header {
}
}
.scenery-topic a {
font-weight: bold;
}
</style>
+3 -1
View File
@@ -258,7 +258,9 @@
"timetable-author-unknown": "Author unknown",
"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": {
"title": "Availability",
+3 -1
View File
@@ -259,7 +259,9 @@
"timetable-author-unknown": "Autor nieznany",
"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": {
"title": "Dostępność",