add new day column to event table

This commit is contained in:
Adrian Zürcher
2025-11-29 15:55:44 +01:00
parent 5ecf1eca18
commit 62549c9039
5 changed files with 50 additions and 2 deletions

View File

@@ -131,3 +131,12 @@ groupName: Gruppename
filterByColumn: Spaltenfilter
filterByColumnValue: Spaltenwerte
saveAsDefault: Aus Standard spichere
day: Tag
Monday: Mäntig
Tuesday: Zistig
Wednesday: Mittwuch
Thursday: Donstig
Friday: Fritig
Saturday: Samstig
Sunday: Suntig
currentPassword: Aktuelles Passwort

View File

@@ -71,7 +71,7 @@ veryWeak: sehr Schwach
weak: Schwach
fair: Ausreichend
good: Gut
strong:
strong: Stark
passwordIsRequired: Password ist erforderlich
passwordTooShort: Das Passwort muss mindestens 8 Zeichen lang sein
passwordNeedsUppercase: Das Passwort muss mindestens einen Großbuchstaben enthalten
@@ -131,3 +131,12 @@ groupName: Gruppenname
filterByColumn: Spaltenfilter
filterByColumnValue: Spaltenwerte
saveAsDefault: Als Standard speichern
day: Tag
Monday: Montag
Tuesday: Dienstag
Wednesday: Mittwoch
Thursday: Donnerstag
Friday: Freitag
Saturday: Samstag
Sunday: Sonntag
currentPassword: Aktuelles Passwort

View File

@@ -131,3 +131,12 @@ groupName: Groupname
filterByColumn: Columnfilter
filterByColumnValue: Columnvalues
saveAsDefault: Save a Default
day: Day
Monday: Monday
Tuesday: Tuesday
Wednesday: Wednesday
Thursday: Thursday
Friday: Friday
Saturday: Saturday
Sunday: Sunday
currentPassword: Current Password

View File

@@ -3,6 +3,8 @@ import type { Members } from './member';
export interface Event {
id: number;
name: string;
date?: string;
day?: string;
attendees: Members;
}

View File

@@ -3,6 +3,8 @@ import { ref, computed } from 'vue';
import type { Events } from 'src/vueLib/models/event';
import { useNotify } from 'src/vueLib/general/useNotify';
import { i18n } from 'boot/lang';
import MenuComponent from '../components/MenuComponent.vue';
import ClickableComponent from '../components/ClickableComponent.vue';
export function useEventTable() {
const Events = ref<Events>([]);
@@ -21,6 +23,7 @@ export function useEventTable() {
label: i18n.global.t('name'),
field: 'name',
sortable: true,
component: ClickableComponent,
},
{
name: 'attendees',
@@ -29,14 +32,30 @@ export function useEventTable() {
field: 'attendees',
sortable: true,
},
{
name: 'day',
align: 'left' as const,
label: i18n.global.t('day'),
field: 'day',
sortable: true,
component: ClickableComponent,
},
{
name: 'date',
align: 'left' as const,
label: i18n.global.t('dateAndTime'),
field: 'date',
sortable: true,
component: ClickableComponent,
},
{
name: 'option',
align: 'center' as const,
label: '',
field: 'option',
icon: 'option',
component: MenuComponent,
},
{ name: 'option', align: 'center' as const, label: '', field: 'option', icon: 'option' },
]);
const { NotifyResponse } = useNotify();