diff --git a/vue3/src/apps/tandoor/main.ts b/vue3/src/apps/tandoor/main.ts index e8c0518a4..c4517ddbd 100644 --- a/vue3/src/apps/tandoor/main.ts +++ b/vue3/src/apps/tandoor/main.ts @@ -40,7 +40,7 @@ const routes = [ {path: '/view/recipe/:id', redirect: {name: 'RecipeViewPage'}}, // old Tandoor v1 url pattern {path: '/list/:model?', component: () => import("@/pages/ModelListPage.vue"), props: true, name: 'ModelListPage'}, - {path: '/edit/:model/:id?', component: () => import("@/pages/ModelListPage.vue"), props: true, name: 'ModelEditPage'}, + {path: '/edit/:model/:id?', component: () => import("@/pages/ModelEditPage.vue"), props: true, name: 'ModelEditPage'}, {path: '/ingredient-editor', component: () => import("@/pages/IngredientEditorPage.vue"), name: 'IngredientEditorPage'}, {path: '/property-editor', component: () => import("@/pages/PropertyEditorPage.vue"), name: 'PropertyEditorPage'}, diff --git a/vue3/src/components/display/PropertyView.vue b/vue3/src/components/display/PropertyView.vue index b3a6f27f6..e7702a39f 100644 --- a/vue3/src/components/display/PropertyView.vue +++ b/vue3/src/components/display/PropertyView.vue @@ -1,21 +1,99 @@ diff --git a/vue3/src/components/display/RecipeView.vue b/vue3/src/components/display/RecipeView.vue index cf772d804..237bdb176 100644 --- a/vue3/src/components/display/RecipeView.vue +++ b/vue3/src/components/display/RecipeView.vue @@ -72,11 +72,13 @@ + + {{ $t('Properties') }} - + @@ -144,7 +146,6 @@ import RecipeImage from "@/components/display/RecipeImage.vue"; import ExternalRecipeViewer from "@/components/display/ExternalRecipeViewer.vue"; import {useWakeLock} from "@vueuse/core"; import StepView from "@/components/display/StepView.vue"; -import IngredientsTable from "@/components/display/IngredientsTable.vue"; import {DateTime} from "luxon"; import PropertyView from "@/components/display/PropertyView.vue"; diff --git a/vue3/src/components/model_editors/RecipeEditor.vue b/vue3/src/components/model_editors/RecipeEditor.vue index cb0e0634a..d99440e04 100644 --- a/vue3/src/components/model_editors/RecipeEditor.vue +++ b/vue3/src/components/model_editors/RecipeEditor.vue @@ -89,7 +89,7 @@ - {{ $t('PropertiesFoodHelp') }} + diff --git a/vue3/src/locales/de.json b/vue3/src/locales/de.json index 66a404ce3..d400caf47 100644 --- a/vue3/src/locales/de.json +++ b/vue3/src/locales/de.json @@ -331,7 +331,7 @@ "Private_Recipe_Help": "Dieses Rezept ist nur für dich und Personen mit denen du es geteilt hast sichtbar.", "Profile": "Profil", "Properties": "Eigenschaften", - "PropertiesFoodHelp": "Eigenschaften können für Rezepte und Lebensmittel erfasst werden. Eigenschaften von Lebensmitteln werden entsprechend der Menge für das Rezept ausgerechnet und überschreiben die Rezepteigenschaften. ", + "PropertiesFoodHelp": "Eigenschaften können für Rezepte und Lebensmittel erfasst werden. Eigenschaften von Lebensmitteln werden automatisch entsprechend der im Rezept enthaltenen Menge berechnet. ", "Properties_Food_Amount": "Eigenschaften: Lebensmittelmenge", "Properties_Food_Unit": "Eigenschaft Einheit", "Property": "Eigenschaft", diff --git a/vue3/src/locales/en.json b/vue3/src/locales/en.json index 09192feec..cb33769f1 100644 --- a/vue3/src/locales/en.json +++ b/vue3/src/locales/en.json @@ -329,7 +329,7 @@ "Private_Recipe_Help": "Recipe is only shown to you and people its shared with.", "Profile": "Profile", "Properties": "Properties", - "PropertiesFoodHelp": "Properties can be added to Recipes and Foods. Properties on Foods are calculated according based on their amount in the recipe and override the recipe properties.", + "PropertiesFoodHelp": "Properties can be added to Recipes and Foods. Properties on Foods are automatically calculated based on their amount in the recipe.", "Properties_Food_Amount": "Properties Food Amount", "Properties_Food_Unit": "Properties Food Unit", "Property": "Property",