diff --git a/erpnext/patches.txt b/erpnext/patches.txt index dda4d3616f..3433e3c5e6 100644 --- a/erpnext/patches.txt +++ b/erpnext/patches.txt @@ -342,5 +342,6 @@ execute:frappe.db.set_single_value('Selling Settings', 'allow_negative_rates_for erpnext.patches.v15_0.correct_asset_value_if_je_with_workflow erpnext.patches.v15_0.delete_woocommerce_settings_doctype erpnext.patches.v14_0.migrate_deferred_accounts_to_item_defaults +execute:frappe.delete_doc("Page", "welcome-to-erpnext") # below migration patch should always run last erpnext.patches.v14_0.migrate_gl_to_payment_ledger diff --git a/erpnext/setup/page/welcome_to_erpnext/__init__.py b/erpnext/setup/page/welcome_to_erpnext/__init__.py deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/erpnext/setup/page/welcome_to_erpnext/welcome_to_erpnext.css b/erpnext/setup/page/welcome_to_erpnext/welcome_to_erpnext.css deleted file mode 100644 index 1fbb459fa7..0000000000 --- a/erpnext/setup/page/welcome_to_erpnext/welcome_to_erpnext.css +++ /dev/null @@ -1,13 +0,0 @@ -#page-welcome-to-erpnext ul li { - margin: 7px 0px; -} - -#page-welcome-to-erpnext .video-placeholder-image { - width: 100%; - cursor: pointer; -} - -#page-welcome-to-erpnext .youtube-icon { - width: 10%; - cursor: pointer; -} diff --git a/erpnext/setup/page/welcome_to_erpnext/welcome_to_erpnext.html b/erpnext/setup/page/welcome_to_erpnext/welcome_to_erpnext.html deleted file mode 100644 index 7166ba3786..0000000000 --- a/erpnext/setup/page/welcome_to_erpnext/welcome_to_erpnext.html +++ /dev/null @@ -1,30 +0,0 @@ -
-
-
-

{%= __("Welcome to ERPNext") %}

-

- {%= __("To get the best out of ERPNext, we recommend that you take some time and watch these help videos.") %} -

-

- -
-
- - -
-
- -
-
-

{%= __("Next Steps") %}

- - -
-
-
diff --git a/erpnext/setup/page/welcome_to_erpnext/welcome_to_erpnext.js b/erpnext/setup/page/welcome_to_erpnext/welcome_to_erpnext.js deleted file mode 100644 index f072b8d8c5..0000000000 --- a/erpnext/setup/page/welcome_to_erpnext/welcome_to_erpnext.js +++ /dev/null @@ -1,20 +0,0 @@ -frappe.pages['welcome-to-erpnext'].on_page_load = function(wrapper) { - var parent = $('
').appendTo(wrapper); - - parent.html(frappe.render_template("welcome_to_erpnext", {})); - - parent.find(".video-placeholder").on("click", function() { - window.erpnext_welcome_video_started = true; - parent.find(".video-placeholder").addClass("hidden"); - parent.find(".embed-responsive").append('') - }); - - // pause video on page change - $(document).on("page-change", function() { - if (window.erpnext_welcome_video_started && parent) { - parent.find(".video-playlist").each(function() { - this.contentWindow.postMessage('{"event":"command","func":"' + 'pauseVideo' + '","args":""}', '*'); - }); - } - }); -} diff --git a/erpnext/setup/page/welcome_to_erpnext/welcome_to_erpnext.json b/erpnext/setup/page/welcome_to_erpnext/welcome_to_erpnext.json deleted file mode 100644 index 0f532aac68..0000000000 --- a/erpnext/setup/page/welcome_to_erpnext/welcome_to_erpnext.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "content": null, - "creation": "2015-10-28 16:27:02.197707", - "docstatus": 0, - "doctype": "Page", - "modified": "2015-10-28 16:27:02.197707", - "modified_by": "Administrator", - "module": "Setup", - "name": "welcome-to-erpnext", - "owner": "Administrator", - "page_name": "welcome-to-erpnext", - "roles": [], - "script": null, - "standard": "Yes", - "style": null, - "title": "Welcome to ERPNext" -} \ No newline at end of file