Refactor training time input fields in Einstellungen component to improve layout and usability. Add optional information field for training times and ensure proper handling of group data. Update rendering logic in Training component to display additional information if provided.
This commit is contained in:
@@ -44,13 +44,17 @@
|
||||
<div>
|
||||
<h3 class="text-xl font-display font-bold text-gray-900 mb-2">{{ gruppe }}</h3>
|
||||
<div class="space-y-2">
|
||||
<p
|
||||
<div
|
||||
v-for="zeit in zeiten"
|
||||
:key="zeit.id"
|
||||
class="text-lg font-semibold text-primary-600"
|
||||
>
|
||||
{{ zeit.tag }}: {{ zeit.von }} - {{ zeit.bis }} Uhr
|
||||
</p>
|
||||
<p class="text-lg font-semibold text-primary-600">
|
||||
{{ zeit.tag }}: {{ zeit.von }} - {{ zeit.bis }} Uhr
|
||||
</p>
|
||||
<p v-if="zeit.info" class="text-sm text-gray-600 mt-1 italic">
|
||||
{{ zeit.info }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<Clock :size="32" class="text-primary-600" />
|
||||
|
||||
Reference in New Issue
Block a user