diff --git a/frontend/src/api/mealplan.js b/frontend/src/api/mealplan.js index 4d396a1cf..5296b694d 100644 --- a/frontend/src/api/mealplan.js +++ b/frontend/src/api/mealplan.js @@ -9,6 +9,7 @@ const mealPlanURLs = { all: `${prefix}all`, create: `${prefix}create`, thisWeek: `${prefix}this-week`, + byId: planID => `${prefix}${planID}`, update: planID => `${prefix}${planID}`, delete: planID => `${prefix}${planID}`, today: `${prefix}today`, @@ -40,6 +41,11 @@ export const mealplanAPI = { return response; }, + async getById(id) { + let response = await apiReq.get(mealPlanURLs.byId(id)); + return response.data; + }, + delete(id) { return apiReq.delete( mealPlanURLs.delete(id), diff --git a/frontend/src/components/ImportSummaryDialog/index.vue b/frontend/src/components/ImportSummaryDialog/index.vue index aa816aa41..608d9953e 100644 --- a/frontend/src/components/ImportSummaryDialog/index.vue +++ b/frontend/src/components/ImportSummaryDialog/index.vue @@ -24,7 +24,7 @@ - + {{ $t("general.recipes") }} {{ $t("general.themes") }} {{ $t("general.settings") }} diff --git a/frontend/src/components/Login/LoginForm.vue b/frontend/src/components/Login/LoginForm.vue index 2499457e6..63f9654fb 100644 --- a/frontend/src/components/Login/LoginForm.vue +++ b/frontend/src/components/Login/LoginForm.vue @@ -22,7 +22,7 @@ v-model="user.email" prepend-icon="mdi-email" validate-on-blur - :label="$t('user.email')" + :label="`${$t('user.email')} or ${$t('user.username')} `" type="email" > + mdi-clipboard-check - {{ $t("general.coppied") }}! + {{ $t("general.coppied") }}! diff --git a/frontend/src/components/UI/CardSection.vue b/frontend/src/components/UI/CardSection.vue index 54ceb4c84..5c80074d8 100644 --- a/frontend/src/components/UI/CardSection.vue +++ b/frontend/src/components/UI/CardSection.vue @@ -1,24 +1,24 @@ diff --git a/frontend/src/components/UI/TheAppBar.vue b/frontend/src/components/UI/TheAppBar.vue index 74ba24f22..2e6593e53 100644 --- a/frontend/src/components/UI/TheAppBar.vue +++ b/frontend/src/components/UI/TheAppBar.vue @@ -18,12 +18,9 @@ - +
+ +
mdi-magnify diff --git a/frontend/src/components/UI/TheSidebar.vue b/frontend/src/components/UI/TheSidebar.vue index 100739ef7..adc67e5c6 100644 --- a/frontend/src/components/UI/TheSidebar.vue +++ b/frontend/src/components/UI/TheSidebar.vue @@ -29,6 +29,14 @@ + + + + mdi-heart + + + Support + diff --git a/frontend/src/locales/messages/en-US.json b/frontend/src/locales/messages/en-US.json index 85886f1a1..b8b6914ff 100644 --- a/frontend/src/locales/messages/en-US.json +++ b/frontend/src/locales/messages/en-US.json @@ -377,6 +377,7 @@ "untagged-count": "Untagged {count}" }, "user": { + "username": "Username", "admin": "Admin", "are-you-sure-you-want-to-delete-the-link": "Are you sure you want to delete the link {link}?", "are-you-sure-you-want-to-delete-the-user": "Are you sure you want to delete the user {activeName} ID: {activeId}?", diff --git a/frontend/src/pages/Admin/About/index.vue b/frontend/src/pages/Admin/About/index.vue index eabfcc7fb..be086065c 100644 --- a/frontend/src/pages/Admin/About/index.vue +++ b/frontend/src/pages/Admin/About/index.vue @@ -1,5 +1,33 @@