diff --git a/web/src/router.js b/web/src/router.js index 203d373..da2876f 100644 --- a/web/src/router.js +++ b/web/src/router.js @@ -17,6 +17,7 @@ import Settings from "@/views/admin/Settings.vue"; import AccessControl from "@/views/admin/AccessControl.vue"; import {default as BoxesAdmin} from "@/views/admin/Boxes.vue" import Shipping from "@/views/admin/Shipping.vue"; +import Notifications from "@/views/admin/Notifications.vue"; const routes = [ {path: '/', redirect: '/37C3/items', meta: {requiresAuth: false}}, @@ -76,9 +77,13 @@ const routes = [ {requiresAuth: true, requiresPermission: 'delete_event'} }, { - path: 'shipping/', name: 'shipping', component: Shipping, meta: + path: 'shipping/', name: 'admin_boxes', component: Shipping, meta: {requiresAuth: true, requiresPermission: 'delete_event'} }, + { + path: 'notifications/', name: 'admin_boxes', component: Notifications, meta: + {requiresAuth: true, requiresPermission: 'delete_event'} + } ] }, {path: '/user', name: 'user', component: Empty, meta: {requiresAuth: true}}, diff --git a/web/src/views/admin/Admin.vue b/web/src/views/admin/Admin.vue index 2f28818..b118ae5 100644 --- a/web/src/views/admin/Admin.vue +++ b/web/src/views/admin/Admin.vue @@ -14,6 +14,9 @@