mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-05 22:38:11 +00:00
feat: user communication flags
This commit is contained in:
@@ -146,6 +146,14 @@
|
||||
</span>
|
||||
</td>
|
||||
|
||||
<td class="station-dispatcher-lang">
|
||||
<img
|
||||
v-if="station.onlineInfo"
|
||||
:src="`/images/flags/${getLanguageNameById(station.onlineInfo.dispatcherLanguageId)}.svg`"
|
||||
alt="user flag"
|
||||
/>
|
||||
</td>
|
||||
|
||||
<td class="station-dispatcher-exp">
|
||||
<span
|
||||
v-if="station.onlineInfo && station.onlineInfo?.dispatcherExp != -1"
|
||||
@@ -344,6 +352,7 @@ import { useTooltipStore } from '../../store/tooltipStore';
|
||||
import { getChangedFilters } from '../../managers/stationFilterManager';
|
||||
import { ActiveSorter, HeadIdsType, headIconsIds, headIds } from './typings';
|
||||
import { filterStations, sortStations } from './utils';
|
||||
import { getLanguageNameById } from '../../utils/languageUtils';
|
||||
|
||||
export default defineComponent({
|
||||
emits: ['toggleDonationCard'],
|
||||
@@ -354,7 +363,8 @@ export default defineComponent({
|
||||
data: () => ({
|
||||
headIconsIds,
|
||||
headIds,
|
||||
getChangedFilters
|
||||
getChangedFilters,
|
||||
getLanguageNameById
|
||||
}),
|
||||
|
||||
setup() {
|
||||
@@ -495,6 +505,10 @@ thead th {
|
||||
width: 12em;
|
||||
}
|
||||
|
||||
&.dispatcher-lang {
|
||||
width: 6em;
|
||||
}
|
||||
|
||||
&.dispatcher-lvl {
|
||||
width: 6em;
|
||||
}
|
||||
@@ -604,6 +618,13 @@ tbody tr {
|
||||
}
|
||||
}
|
||||
|
||||
.station-dispatcher-lang {
|
||||
img {
|
||||
max-width: 2em;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
.station-level {
|
||||
span {
|
||||
background-color: #888;
|
||||
|
||||
Reference in New Issue
Block a user