mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-02 21:08:12 +00:00
chore(scenery): added scenery's forum link to general info
This commit is contained in:
@@ -4,9 +4,13 @@
|
|||||||
<img src="/images/icon-back.svg" alt="return button" />
|
<img src="/images/icon-back.svg" alt="return button" />
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<a class="scenery-name" :href="station?.generalInfo?.url" target="_blank">
|
<div class="scenery-name">
|
||||||
{{ stationName.replace(/_/g, ' ') }}
|
<a v-if="station?.generalInfo" :href="station.generalInfo.url" target="_blank">
|
||||||
</a>
|
{{ stationName.replace(/_/g, ' ') }}
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<span v-else> {{ stationName.replace(/_/g, ' ') }}</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="scenery-hash" v-if="onlineScenery?.hash">#{{ onlineScenery.hash }}</div>
|
<div class="scenery-hash" v-if="onlineScenery?.hash">#{{ onlineScenery.hash }}</div>
|
||||||
</section>
|
</section>
|
||||||
@@ -53,15 +57,14 @@ function onReturnButtonClick() {
|
|||||||
.btn-return {
|
.btn-return {
|
||||||
$bgColor: #2b2b2b;
|
$bgColor: #2b2b2b;
|
||||||
background-color: $bgColor;
|
background-color: $bgColor;
|
||||||
margin-bottom: 0.5em;
|
|
||||||
|
|
||||||
img {
|
|
||||||
width: 2em;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: color.adjust($color: $bgColor, $lightness: 15%);
|
background-color: color.adjust($color: $bgColor, $lightness: 15%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
height: 2em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.scenery-name {
|
.scenery-name {
|
||||||
|
|||||||
@@ -7,6 +7,18 @@
|
|||||||
<div v-else>
|
<div v-else>
|
||||||
<div>
|
<div>
|
||||||
<span>
|
<span>
|
||||||
|
<a
|
||||||
|
v-if="station?.generalInfo"
|
||||||
|
:href="station.generalInfo.url"
|
||||||
|
class="forum-link"
|
||||||
|
target="_blank"
|
||||||
|
>
|
||||||
|
{{ $t('scenery.forum-topic') }}
|
||||||
|
</a>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<span>
|
||||||
|
•
|
||||||
<b>{{ $t('scenery.abbrev') }}</b> {{ station.generalInfo.abbr }}
|
<b>{{ $t('scenery.abbrev') }}</b> {{ station.generalInfo.abbr }}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
@@ -95,4 +107,9 @@ export default defineComponent({
|
|||||||
.scenery-abbrev {
|
.scenery-abbrev {
|
||||||
font-size: 1.05em;
|
font-size: 1.05em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a.forum-link {
|
||||||
|
text-decoration: underline;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
+1
-1
@@ -585,7 +585,7 @@
|
|||||||
"dispatcher-status-changes": "Status changes:",
|
"dispatcher-status-changes": "Status changes:",
|
||||||
"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",
|
"forum-topic": "Scenery's forum topic",
|
||||||
"gnr-link": "Train orders generator",
|
"gnr-link": "Train orders generator",
|
||||||
"pragotron-link": "Timetable pallet board",
|
"pragotron-link": "Timetable pallet board",
|
||||||
"tablice-link": "Timetable summary board <br> (by Thundo)",
|
"tablice-link": "Timetable summary board <br> (by Thundo)",
|
||||||
|
|||||||
+1
-1
@@ -571,7 +571,7 @@
|
|||||||
"dispatcher-status-changes": "Zmiany statusów:",
|
"dispatcher-status-changes": "Zmiany statusów:",
|
||||||
"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}",
|
"forum-topic": "Wątek scenerii",
|
||||||
"gnr-link": "Generator rozkazów pisemnych",
|
"gnr-link": "Generator rozkazów pisemnych",
|
||||||
"pragotron-link": "Paletowa tablica informacyjna",
|
"pragotron-link": "Paletowa tablica informacyjna",
|
||||||
"tablice-link": "Tablica informacyjna zbiorcza <br> (autorstwa Thundo)",
|
"tablice-link": "Tablica informacyjna zbiorcza <br> (autorstwa Thundo)",
|
||||||
|
|||||||
Reference in New Issue
Block a user