diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 9bfb05464e45..2f9f7214d1be 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -3,9 +3,9 @@ - This is a Demo | Username: changeme@email.com | Password: demo + + This is a Demo of the v0.5.0 (BETA) | Username: changeme@email.com | Password: demo + @@ -73,15 +73,7 @@ export default { diff --git a/frontend/src/components/Recipe/ContextMenu.vue b/frontend/src/components/Recipe/ContextMenu.vue index 25cb8c8a0529..ca7a40c80847 100644 --- a/frontend/src/components/Recipe/ContextMenu.vue +++ b/frontend/src/components/Recipe/ContextMenu.vue @@ -129,7 +129,7 @@ export default { }, async downloadJson() { const recipe = await api.recipes.requestDetails(this.slug); - this.downloadString(JSON.stringify(recipe, "", 4), "text/json", recipe.slug+'.json'); + this.downloadString(JSON.stringify(recipe, "", 4), "text/json", recipe.slug + ".json"); }, downloadString(text, fileType, fileName) { let blob = new Blob([text], { type: fileType }); diff --git a/frontend/src/components/UI/Buttons/TheCopyButton.vue b/frontend/src/components/UI/Buttons/TheCopyButton.vue new file mode 100644 index 000000000000..0877731001d5 --- /dev/null +++ b/frontend/src/components/UI/Buttons/TheCopyButton.vue @@ -0,0 +1,69 @@ + + + + + mdi-content-copy + + + + + mdi-clipboard-check + + {{ $t('general.coppied')}}! + + + + + + + + \ No newline at end of file diff --git a/frontend/src/locales/messages/en-US.json b/frontend/src/locales/messages/en-US.json index 816bf4b6b9b1..58fba36e838c 100644 --- a/frontend/src/locales/messages/en-US.json +++ b/frontend/src/locales/messages/en-US.json @@ -49,6 +49,7 @@ "confirm": "Confirm", "create": "Create", "created": "Created", + "coppied": "Coppied", "current-parenthesis": "(Current)", "custom": "Custom", "dashboard": "Dashboard", diff --git a/frontend/src/pages/Admin/ManageUsers/TheSignUpTable.vue b/frontend/src/pages/Admin/ManageUsers/TheSignUpTable.vue index 21138a520b1e..6610935c2003 100644 --- a/frontend/src/pages/Admin/ManageUsers/TheSignUpTable.vue +++ b/frontend/src/pages/Admin/ManageUsers/TheSignUpTable.vue @@ -70,11 +70,7 @@ {{ `${baseURL}/sign-up/${item.token}` }} - - - mdi-content-copy - - + @@ -98,11 +94,12 @@