Skip to content

Commit

Permalink
feat: changed the UI for the calendar filter options
Browse files Browse the repository at this point in the history
  • Loading branch information
mario-zelger committed Nov 1, 2024
1 parent 4494bff commit a4307a6
Show file tree
Hide file tree
Showing 12 changed files with 191 additions and 222 deletions.
10 changes: 5 additions & 5 deletions src/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@
"al": "Abteilungsleitung",
"c": "Coach"
},
"prefixPlaceholder": "Prefix für Kalendereinträge",
"prefixPreview": "Vorschau: {{calendarTitlePrefix}} Lagerdaten an Coach",
"designation": "Bezeichnung",
"defaultDesignation": "Lagerdaten",
"resetValues": "Werte zurücksetzen",
"download": "Herunterladen",
"ics": {
"download": "als Kalender",
"filename": "{{calendarTitlePrefix}}Lagerdaten.ics"
"filename": "{{calendarDesignation}}.ics"
},
"csv": {
"download": "als CSV",
"filename": "{{calendarTitlePrefix}}Lagerdaten.csv"
"filename": "{{calendarDesignation}}.csv"
},
"excel": {
"title": "Termine Lagerplanung",
Expand All @@ -45,7 +45,7 @@
"afterCamp": "Nach dem Lager",
"done": "Erledigt",
"download": "als Excel",
"filename": "{{calendarTitlePrefix}}Lagerdaten.xlsx"
"filename": "{{calendarDesignation}}.xlsx"
},
"table": {
"what": "Was",
Expand Down
10 changes: 5 additions & 5 deletions src/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@
"al": "Responsable de groupe",
"c": "Coach"
},
"prefixPlaceholder": "Préfixe pour les entrées de calendrier",
"prefixPreview": "Aperçu: {{calendarTitlePrefix}} Données relatives",
"designation": "Désignation",
"defaultDesignation": "Données du camp",
"resetValues": "Réinitialiser les valeurs",
"download": "Télécharger",
"ics": {
"download": "comme calendrier",
"filename": "{{calendarTitlePrefix}}Données du camp.ics"
"filename": "{{calendarDesignation}}.ics"
},
"csv": {
"download": "comme CSV",
"filename": "{{calendarTitlePrefix}}Données du camp.csv"
"filename": "{{calendarDesignation}}.csv"
},
"excel": {
"title": "Dates de planification du camp",
Expand All @@ -45,7 +45,7 @@
"afterCamp": "Après le camp",
"done": "Fait",
"download": "comme Excel",
"filename": "{{calendarTitlePrefix}}Données du camp.xlsx"
"filename": "{{calendarDesignation}}.xlsx"
},
"table": {
"what": "Quoi",
Expand Down
10 changes: 5 additions & 5 deletions src/i18n/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@
"al": "Capo Sezione",
"c": "Coach"
},
"prefixPlaceholder": "Prefisso per le voci del calendario",
"prefixPreview": "Anteprima: {{calendarTitlePrefix}} Dati del campo",
"designation": "Designazione",
"defaultDesignation": "Dati del campo",
"resetValues": "Azzeramento dei valori",
"download": "Scaricare",
"ics": {
"download": "come calendario",
"filename": "{{calendarTitlePrefix}}Dati del campo.ics"
"filename": "{{calendarDesignation}}.ics"
},
"csv": {
"download": "come CSV",
"filename": "{{calendarTitlePrefix}}Dati del campo.csv"
"filename": "{{calendarDesignation}}.csv"
},
"excel": {
"title": "Date di pianificazione del campo",
Expand All @@ -45,7 +45,7 @@
"afterCamp": "Dopo il campo",
"done": "Fatto",
"download": "come Excel",
"filename": "{{calendarTitlePrefix}}Dati del campo.xlsx"
"filename": "{{calendarDesignation}}.xlsx"
},
"table": {
"what": "Cosa",
Expand Down
3 changes: 1 addition & 2 deletions src/pages/calendar/CalendarPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import remarkGfm from 'remark-gfm'
import { LinkComponent } from '../../helper/MarkdownComponents'
import CalendarForm from './components/CalendarForm'
import { faCalendarDays } from "@fortawesome/free-solid-svg-icons"
import './calendar.less'
import { HApiCalendarPage } from "../../apis/hering-api";

type Props = {
Expand All @@ -21,7 +20,7 @@ function CalendarPage(props: Props) {
}, [calendarPage]);

return <div className='content-main'>
<div className='calendar'>
<div>
<h1>
<FontAwesomeIcon icon={faCalendarDays}/> {calendarPage.title}
</h1>
Expand Down
115 changes: 0 additions & 115 deletions src/pages/calendar/calendar.less

This file was deleted.

Loading

0 comments on commit a4307a6

Please sign in to comment.