Skip to content

Commit a370286

Browse files
authored
Merge pull request #5421 from HSLdevcom/replament-bus-fix
fix waltti replacement bus config
2 parents 9a82785 + b3ef9c7 commit a370286

File tree

2 files changed

+23
-28
lines changed

2 files changed

+23
-28
lines changed

app/configurations/config.default.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,6 +865,5 @@ export default {
865865
allowFlexJourneys: false,
866866
allowDirectFlexJourneys: false,
867867
allowedFlexRouteTypes: [1501],
868-
showRouteDisclaimer: true,
869868
showRouteDescNotification: false,
870869
};

app/configurations/config.waltti.js

Lines changed: 23 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -324,32 +324,28 @@ export default {
324324
process.env.NODE_ENV !== 'production',
325325
},
326326

327-
routeNotifications: [
328-
{
329-
showForRoute: route => route.type === 714,
330-
id: 'replacementBusNotification',
331-
header: {
332-
fi: 'Korvaava bussi',
333-
en: 'Replacement bus',
334-
sv: 'Ersättande buss',
335-
},
336-
content: {
337-
fi: [
338-
'Voit nousta kyytiin myös bussin keskiovista.',
339-
'Pysäkit on merkitty punaisilla tunnuksilla.',
340-
'Linja käyttää valikoituja pysäkkejä, eli bussi ei pysähdy kaikilla pysäkeillä.',
341-
],
342-
en: [
343-
'You can also board the bus through the middle doors.',
344-
'The stops are marked with red signs.',
345-
'The bus stops only at designated stops and does not serve all stops.',
346-
],
347-
sv: [
348-
'Du kan också stiga på bussen genom mittdörren.',
349-
'Hållplatserna är markerade med röda punkter.',
350-
'Linjen stannar endast vid vissa hållplatser, dvs. bussen stannar inte vid alla hållplatser.',
351-
],
352-
},
327+
replacementBusNotification: {
328+
header: {
329+
fi: 'Korvaava bussi',
330+
en: 'Replacement bus',
331+
sv: 'Ersättande buss',
353332
},
354-
],
333+
content: {
334+
fi: [
335+
'Voit nousta kyytiin myös bussin keskiovista.',
336+
'Pysäkit on merkitty punaisilla tunnuksilla.',
337+
'Linja käyttää valikoituja pysäkkejä, eli bussi ei pysähdy kaikilla pysäkeillä.',
338+
],
339+
en: [
340+
'You can also board the bus through the middle doors.',
341+
'The stops are marked with red signs.',
342+
'The bus stops only at designated stops and does not serve all stops.',
343+
],
344+
sv: [
345+
'Du kan också stiga på bussen genom mittdörren.',
346+
'Hållplatserna är markerade med röda punkter.',
347+
'Linjen stannar endast vid vissa hållplatser, dvs. bussen stannar inte vid alla hållplatser.',
348+
],
349+
},
350+
},
355351
};

0 commit comments

Comments
 (0)