-
+
Subkategorie
setFormData({ ...formData, subcategory: e.target.value })}
placeholder="z.B. running, hypertrophy, meditation"
+ style={{ width: '100%' }}
/>
Kleingeschrieben, ohne Leerzeichen, eindeutig
-
-
- setFormData({ ...formData, name_de: e.target.value })}
- placeholder="z.B. Laufen"
- />
-
-
-
-
- setFormData({ ...formData, name_en: e.target.value })}
- placeholder="e.g. Running"
- />
-
+
+
Name (Deutsch) *
+
setFormData({ ...formData, name_de: e.target.value })}
+ placeholder="z.B. Laufen"
+ style={{ width: '100%' }}
+ />
-
+
Name (English) *
+
setFormData({ ...formData, name_en: e.target.value })}
+ placeholder="e.g. Running"
+ style={{ width: '100%' }}
+ />
+
+
+
+
Icon (Emoji)
setFormData({ ...formData, icon: e.target.value })}
placeholder="đ"
maxLength={10}
+ style={{ width: '100%' }}
/>
-
+
Sortierung
setFormData({ ...formData, sort_order: parseInt(e.target.value) })}
+ style={{ width: '100%' }}
/>
Niedrigere Zahlen werden zuerst angezeigt
@@ -245,24 +249,26 @@ export default function AdminTrainingTypesPage() {
-
+
Beschreibung (Deutsch)
-
+
Beschreibung (English)
diff --git a/frontend/src/pages/History.jsx b/frontend/src/pages/History.jsx
index 5e92190..54f2aac 100644
--- a/frontend/src/pages/History.jsx
+++ b/frontend/src/pages/History.jsx
@@ -10,6 +10,7 @@ import { api } from '../utils/api'
import { getBfCategory } from '../utils/calc'
import { getInterpretation, getStatusColor, getStatusBg } from '../utils/interpret'
import Markdown from '../utils/Markdown'
+import TrainingTypeDistribution from '../components/TrainingTypeDistribution'
import dayjs from 'dayjs'
import 'dayjs/locale/de'
dayjs.locale('de')
@@ -653,6 +654,10 @@ function ActivitySection({ activities, insights, onRequest, loadingSlug, filterA
))}