[fix] re-make setup wizard slides on change of language
This commit is contained in:
parent
834b3e6f83
commit
1ed82834ce
@ -5,8 +5,9 @@ frappe.pages['setup-wizard'].on_page_load = function(wrapper) {
|
||||
frappe.set_route("desk");
|
||||
return;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
function load_erpnext_slides() {
|
||||
$.extend(erpnext.wiz, {
|
||||
region: {
|
||||
title: __("Region"),
|
||||
@ -400,9 +401,11 @@ erpnext.wiz.fiscal_years = {
|
||||
"South Africa": ["03-01", "02-28"],
|
||||
"Thailand": ["10-01", "09-30"],
|
||||
"United Kingdom": ["04-01", "03-31"],
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
frappe.wiz.on("before_load", function() {
|
||||
load_erpnext_slides();
|
||||
frappe.wiz.add_slide(erpnext.wiz.user);
|
||||
frappe.wiz.add_slide(erpnext.wiz.org);
|
||||
frappe.wiz.add_slide(erpnext.wiz.branding);
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
<br>
|
||||
<hr>
|
||||
<h3>Next Steps</h3>
|
||||
<h3>{%= __("Next Steps") %}</h3>
|
||||
<ul class="list-unstyled">
|
||||
<li><a class="text-muted" href="#">{%= __("Go to the Desktop and start using ERPNext") %}</a></li>
|
||||
<li><a class="text-muted" href="#Module/Learn">{%= __("View a list of all the help videos") %}</a></li>
|
||||
|
Loading…
x
Reference in New Issue
Block a user