brotherton-erpnext/erpnext/public/js/hub/pages/not_found.js
2018-08-01 14:09:07 +05:30

11 lines
320 B
JavaScript

import SubPage from './base_page';
erpnext.hub.NotFound = class NotFound extends SubPage {
refresh() {
this.$wrapper.html(get_empty_state(
__('Sorry! I could not find what you were looking for.'),
`<button class="btn btn-default btn-xs" data-route="marketplace/home">${__('Back to home')}</button>`
));
}
}