Adds Online group to application menu and localization

Introduces new menu group with Booking and Website sections
Updates Danish localization to include new menu items and group

Enhances application navigation with online-related features
This commit is contained in:
Janus C. H. Knudsen 2026-01-25 19:21:51 +01:00
parent 33804d002e
commit eba6bd646d
2 changed files with 34 additions and 2 deletions

View file

@ -8,6 +8,8 @@
"customers": "Kunder", "customers": "Kunder",
"employees": "Medarbejdere", "employees": "Medarbejdere",
"services": "Services", "services": "Services",
"booking": "Booking",
"website": "Website",
"reports": "Statistik & Rapporter", "reports": "Statistik & Rapporter",
"settings": "Indstillinger", "settings": "Indstillinger",
"account": "Abonnement & Konto" "account": "Abonnement & Konto"
@ -15,6 +17,7 @@
"groups": { "groups": {
"overview": "Overblik", "overview": "Overblik",
"data": "Data", "data": "Data",
"online": "Online",
"analytics": "Analyse", "analytics": "Analyse",
"system": "System" "system": "System"
}, },

View file

@ -143,12 +143,41 @@ public class MockMenuService : IMenuService
} }
}, },
// ONLINE GROUP
new MenuGroup
{
Id = "online",
Label = "Online",
SortOrder = 3,
Items = new List<MenuItem>
{
new MenuItem
{
Id = "booking",
Label = "Booking",
Icon = "ph-calendar-check",
Url = "/online-booking",
MinimumRole = UserRole.Manager,
SortOrder = 1
},
new MenuItem
{
Id = "website",
Label = "Website",
Icon = "ph-globe",
Url = "/website",
MinimumRole = UserRole.Manager,
SortOrder = 2
}
}
},
// ANALYSE GROUP // ANALYSE GROUP
new MenuGroup new MenuGroup
{ {
Id = "analytics", Id = "analytics",
Label = "Analyse", Label = "Analyse",
SortOrder = 3, SortOrder = 4,
Items = new List<MenuItem> Items = new List<MenuItem>
{ {
new MenuItem new MenuItem
@ -168,7 +197,7 @@ public class MockMenuService : IMenuService
{ {
Id = "system", Id = "system",
Label = "System", Label = "System",
SortOrder = 4, SortOrder = 5,
Items = new List<MenuItem> Items = new List<MenuItem>
{ {
new MenuItem new MenuItem