Update text for 'clear filter' link to be different depending on flavor

This commit is contained in:
Ramon Wenger 2023-04-20 16:53:27 +02:00
parent d30e216647
commit 29c4d8f236
3 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<template>
<div class="instrument-filter">
<filter-group
title="Alles anzeigen"
:title="$flavor.textInstrumentFilterShowAll"
data-cy="filter-all-instruments"
/>

View File

@ -13,6 +13,7 @@ export const defaultFlavorValues: FlavorValues = {
textModules: 'Module',
textInstrument: 'Instrument',
textInstruments: 'Instrumente',
textInstrumentFilterShowAll: 'Alle anzeigen',
// mySkillbox flags
showFooter: true,
@ -36,6 +37,7 @@ export const myKvValues: FlavorValues = {
textModules: 'Lernfelder',
textInstrument: 'Grundlagenwissen',
textInstruments: 'Grundlagenwissen',
textInstrumentFilterShowAll: 'Alles anzeigen',
// myKV flags
showFooter: false,

View File

@ -9,6 +9,7 @@ export interface FlavorValues {
textModules: string;
textInstrument: string;
textInstruments: string;
textInstrumentFilterShowAll: string;
showFooter: boolean;
showObjectivesTitle: boolean;
showInstrumentFilterSidebar: boolean;