@@ -11,7 +11,7 @@
- {{$t('meal-plan.dinner-tonight')}}
+ {{ $t("meal-plan.dinner-tonight") }}
mdi-food-variant
- {{$t('meal-plan.mealplan-settings')}}
+ {{ $t("meal-plan.mealplan-settings") }}
- {{$t('meal-plan.mealplan-categories')}}
+ {{ $t("meal-plan.mealplan-categories") }}
{{ $t("meal-plan.only-recipes-with-these-categories-will-be-used-in-meal-plans") }}
@@ -66,7 +66,7 @@
/>
- {{$t('settings.webhooks.webhooks-caps')}}
+ {{ $t("settings.webhooks.webhooks-caps") }}
{{
$t(
@@ -82,7 +82,7 @@
mdi-webhook
- {{$t('general.new')}}
+ {{ $t("general.new") }}
@@ -106,7 +106,7 @@
- mdi-content-save
+ {{ $globals.icons.save }}
{{ $t("general.update") }}
diff --git a/frontend/src/pages/Admin/Profile/ProfileThemeCard.vue b/frontend/src/pages/Admin/Profile/ProfileThemeCard.vue
index 20c96c23c..672286166 100644
--- a/frontend/src/pages/Admin/Profile/ProfileThemeCard.vue
+++ b/frontend/src/pages/Admin/Profile/ProfileThemeCard.vue
@@ -64,7 +64,7 @@
- mdi-square-edit-outline
+ {{ $globals.icons.edit }}
@@ -75,7 +75,7 @@
- mdi-plus {{ $t("general.create") }}
+ {{ $globals.icons.create }} {{ $t("general.create") }}
diff --git a/frontend/src/pages/Admin/Profile/UserCard.vue b/frontend/src/pages/Admin/Profile/UserCard.vue
index 960738615..5a47fb7fb 100644
--- a/frontend/src/pages/Admin/Profile/UserCard.vue
+++ b/frontend/src/pages/Admin/Profile/UserCard.vue
@@ -1,5 +1,5 @@
-
+
@@ -90,7 +90,7 @@
/>
- mdi-content-save
+ {{ $globals.icons.save }}
{{ $t("general.update") }}
diff --git a/frontend/src/pages/Admin/Settings/HomePageSettings.vue b/frontend/src/pages/Admin/Settings/HomePageSettings.vue
index 09977140b..4f442f724 100644
--- a/frontend/src/pages/Admin/Settings/HomePageSettings.vue
+++ b/frontend/src/pages/Admin/Settings/HomePageSettings.vue
@@ -55,7 +55,7 @@
- mdi-delete
+ {{ $globals.icons.delete }}
@@ -67,7 +67,7 @@
- mdi-tag
+ {{ $globals.icons.tags }}
@@ -95,7 +95,7 @@
- mdi-delete
+ {{ $globals.icons.delete }}
@@ -127,7 +127,7 @@
- mdi-content-save
+ {{ $globals.icons.save }}
{{ $t("general.save") }}
diff --git a/frontend/src/pages/Admin/ToolBox/CategoryTagEditor/BulkAssign.vue b/frontend/src/pages/Admin/ToolBox/CategoryTagEditor/BulkAssign.vue
index 809adc0b8..2707c0d86 100644
--- a/frontend/src/pages/Admin/ToolBox/CategoryTagEditor/BulkAssign.vue
+++ b/frontend/src/pages/Admin/ToolBox/CategoryTagEditor/BulkAssign.vue
@@ -2,7 +2,7 @@
- mdi-plus
+ {{ $globals.icons.create }}
{{ $t("events.notification") }}
@@ -135,7 +135,7 @@
- mdi-delete
+ {{ $globals.icons.delete }}
{{ $t("general.delete") }}
diff --git a/frontend/src/pages/Admin/ToolBox/RecipeOrganizer.vue b/frontend/src/pages/Admin/ToolBox/RecipeOrganizer.vue
index 2a9923640..34c7f4513 100644
--- a/frontend/src/pages/Admin/ToolBox/RecipeOrganizer.vue
+++ b/frontend/src/pages/Admin/ToolBox/RecipeOrganizer.vue
@@ -3,12 +3,12 @@
- mdi-tag-multiple
+ {{ $globals.icons.tags }}-multiple
{{ $t("recipe.categories") }}
- mdi-tag-multiple
+ {{ $globals.icons.tags }}-multiple
{{ $t("tag.tags") }}
diff --git a/frontend/src/pages/Admin/ToolBox/index.vue b/frontend/src/pages/Admin/ToolBox/index.vue
index 4912ae098..5fd93d0b9 100644
--- a/frontend/src/pages/Admin/ToolBox/index.vue
+++ b/frontend/src/pages/Admin/ToolBox/index.vue
@@ -5,20 +5,20 @@
- {{$t('settings.notify')}}
+ {{ $t("settings.notify") }}
mdi-bell-alert
{{ $t("recipe.categories") }}
- mdi-tag-multiple-outline
+ {{ $globals.icons.tags }}
{{ $t("tag.tags") }}
- mdi-tag-multiple-outline
+ {{ $globals.icons.tags }}
- {{$t('settings.organize')}}
+ {{ $t("settings.organize") }}
mdi-broom
diff --git a/frontend/src/pages/Recipes/CustomPage.vue b/frontend/src/pages/Recipes/CustomPage.vue
index 7eaa5cfab..871dc7a7b 100644
--- a/frontend/src/pages/Recipes/CustomPage.vue
+++ b/frontend/src/pages/Recipes/CustomPage.vue
@@ -2,9 +2,7 @@
-
- mdi-tag-multiple-outline
-
+ {{ $globals.icons.tags }}-multiple-outline
{{ page.name }}
diff --git a/frontend/src/pages/ShoppingList/index.vue b/frontend/src/pages/ShoppingList/index.vue
index bbc15f270..10c2416eb 100644
--- a/frontend/src/pages/ShoppingList/index.vue
+++ b/frontend/src/pages/ShoppingList/index.vue
@@ -16,7 +16,7 @@
- mdi-plus
+ {{ $globals.icons.create }}
New List
@@ -39,7 +39,7 @@
- mdi-delete
+ {{ $globals.icons.delete }}
Delete
@@ -85,13 +85,13 @@
- mdi-plus
+ {{ $globals.icons.create }}
- mdi-delete
+ {{ $globals.icons.delete }}
@@ -130,13 +130,13 @@
- mdi-silverware-variant
+ {{ $globals.icons.primary }}
From Recipe
- mdi-plus
+ {{ $globals.icons.create }}
New
diff --git a/frontend/src/utils/globals.js b/frontend/src/utils/globals.js
new file mode 100644
index 000000000..e6cece405
--- /dev/null
+++ b/frontend/src/utils/globals.js
@@ -0,0 +1,30 @@
+const icons = {
+ primary: "mdi-silverware-variant",
+
+ // Crud
+ create: "mdi-plus",
+ delete: "mdi-delete",
+ save: "mdi-save-content",
+ edit: "mdi-square-edit-outline",
+
+ // Organization
+ tags: "mdi-tag-multiple-outline",
+
+ // Admin
+ user: "mdi-account",
+ admin: "mdi-admin",
+ group: "mdi-account-group",
+};
+
+export const globals = {
+ icons,
+};
+
+/*
+
+import { globals } from "@/utils/globals"
+globals: globals,
+
+{{ globals.icons. }}
+
+*/
|