🚸 Add text if there is no entry for selected day

- Overlay if substitutions / history view is still loading
- Overlay if no substitution exists for current day
- Overlay if no history exists for current day
This commit is contained in:
2023-01-02 23:07:28 +01:00
parent 99864696f3
commit 4057e4c88b
7 changed files with 231 additions and 37 deletions

View File

@ -76,6 +76,18 @@ export const strings = {
},
},
},
infoCard: {
titles: {
loading: "Loading data",
noEntries: "No Substitutions",
noHistory: "No History",
},
texts: {
loading: "The data for this day is still being loaded",
noEntries: "There are no substitutions for this day yet",
noHistory: "No substitutions for this day have changed yet",
},
},
},
de: {
title: {
@ -155,5 +167,18 @@ export const strings = {
},
},
},
infoCard: {
titles: {
loading: "Läd noch",
noEntries: "Keine Vertretungen",
noHistory: "Noch keine Änderungen",
},
texts: {
loading: "Die Daten für diesen Tag laden noch",
noEntries: "Es gibt noch keine Vertretungen für diesen Tag",
noHistory:
"An den Vertretungen für diesen Tag wurde noch nichts geändert",
},
},
},
};