brotherton-erpnext/erpnext/public/js/hub/pages/NotFound.vue
Raffael Meyer fbcc3c1b70
fix: Translatable strings (#23783)
* fix: start_pattern

* fix: translatable strings

* fix: add missing semicolon (task)

* fix: add missing semicolon (setup_wizard)

* fix: text should start on the same line

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* fix: move out HTML element as variable

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* fix: pull out message, translate "Undo".

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* fix: typo

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* fix: text should start on the same line

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* Revert "fix: start_pattern"

This reverts commit decc62e2ab75f45db1df022fe13780c2d0d2560d.

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2020-11-25 09:11:51 +05:30

37 lines
570 B
Vue

<template>
<div
class="marketplace-page"
:data-page-name="page_name"
>
<empty-state
:message="empty_state_message"
:height="500"
:action="action"
>
</empty-state>
</div>
</template>
<script>
export default {
name: 'not-found-page',
data() {
return {
page_name: 'not-found',
action: {
label: __('Back to Home'),
on_click: () => {
frappe.set_route(`marketplace/home`);
}
},
// Constants
empty_state_message: __('Sorry! We could not find what you were looking for.')
};
},
}
</script>
<style scoped></style>