diff --git a/foundation/erpnext_foundation/doctype/foundation_project/__init__.py b/foundation/erpnext_foundation/doctype/foundation_project/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/foundation/erpnext_foundation/doctype/foundation_project/foundation_project.js b/foundation/erpnext_foundation/doctype/foundation_project/foundation_project.js new file mode 100644 index 00000000..fd565f15 --- /dev/null +++ b/foundation/erpnext_foundation/doctype/foundation_project/foundation_project.js @@ -0,0 +1,8 @@ +// Copyright (c) 2019, EOSSF and contributors +// For license information, please see license.txt + +frappe.ui.form.on('Foundation Project', { + // refresh: function(frm) { + + // } +}); diff --git a/foundation/erpnext_foundation/doctype/foundation_project/foundation_project.json b/foundation/erpnext_foundation/doctype/foundation_project/foundation_project.json new file mode 100644 index 00000000..7513839d --- /dev/null +++ b/foundation/erpnext_foundation/doctype/foundation_project/foundation_project.json @@ -0,0 +1,76 @@ +{ + "autoname": "field:title", + "creation": "2019-05-01 13:23:27.416290", + "doctype": "DocType", + "engine": "InnoDB", + "field_order": [ + "title", + "show_in_website", + "status", + "project_date", + "description", + "url" + ], + "fields": [ + { + "fieldname": "title", + "fieldtype": "Data", + "in_list_view": 1, + "label": "Title", + "reqd": 1, + "unique": 1 + }, + { + "fieldname": "description", + "fieldtype": "Text Editor", + "in_list_view": 1, + "label": "Description", + "reqd": 1 + }, + { + "fieldname": "url", + "fieldtype": "Data", + "in_list_view": 1, + "label": "URL", + "reqd": 1 + }, + { + "fieldname": "status", + "fieldtype": "Select", + "label": "Status", + "options": "Ongoing\nCompleted\nAbandoned\nPlanned" + }, + { + "fieldname": "show_in_website", + "fieldtype": "Check", + "label": "Show in Website" + }, + { + "fieldname": "project_date", + "fieldtype": "Date", + "label": "Project Date" + } + ], + "modified": "2019-05-01 13:29:19.465870", + "modified_by": "Administrator", + "module": "ERPNext Foundation", + "name": "Foundation Project", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "ASC", + "track_changes": 1 +} \ No newline at end of file diff --git a/foundation/erpnext_foundation/doctype/foundation_project/foundation_project.py b/foundation/erpnext_foundation/doctype/foundation_project/foundation_project.py new file mode 100644 index 00000000..2a8ce0e4 --- /dev/null +++ b/foundation/erpnext_foundation/doctype/foundation_project/foundation_project.py @@ -0,0 +1,10 @@ +# -*- coding: utf-8 -*- +# Copyright (c) 2019, EOSSF and contributors +# For license information, please see license.txt + +from __future__ import unicode_literals +# import frappe +from frappe.model.document import Document + +class FoundationProject(Document): + pass diff --git a/foundation/erpnext_foundation/doctype/foundation_project/test_foundation_project.py b/foundation/erpnext_foundation/doctype/foundation_project/test_foundation_project.py new file mode 100644 index 00000000..06410d22 --- /dev/null +++ b/foundation/erpnext_foundation/doctype/foundation_project/test_foundation_project.py @@ -0,0 +1,10 @@ +# -*- coding: utf-8 -*- +# Copyright (c) 2019, EOSSF and Contributors +# See license.txt +from __future__ import unicode_literals + +# import frappe +import unittest + +class TestFoundationProject(unittest.TestCase): + pass diff --git a/foundation/hooks.py b/foundation/hooks.py index 1ad3563b..a58bf17e 100644 --- a/foundation/hooks.py +++ b/foundation/hooks.py @@ -42,7 +42,7 @@ template_apps = ['foundation', 'frappe_theme', 'erpnext', 'frappe'] website_context = { # "navbar_search": 1, "repo": "erpnext/foundation", - "brand_html": "Opensource ERP SoftwareERPNext.org", + "brand_html": "Opensource ERP SoftwareERPNext Foundation", "top_bar_items": [ {"label": "ERPNext", "child_items":[ {"label": "User Stories", "url": "/stories"}, @@ -55,17 +55,18 @@ website_context = { ], "right":1}, {"label": "Community", "child_items":[ {"label": "Forum", "url": "https://discuss.erpnext.com", "target": "target='_blank'"}, - {"label": "Conference 2018", "url": "/conf/2018"}, {"label": "Chapters", "url": "/chapter-list"}, {"label": "Fellows", "url": "/fellows"}, - {"label": "Write for ERPNext", "url": "/write-for-us"} + {"label": "Conference 2018", "url": "/conf/2018"}, ], "right":1}, {"label": "Services", "child_items":[ - {"label": "Service Providers", "url": "/service-providers"}, + {"label": "Member Listing", "url": "/service-providers"}, {"label": "Freelancer Jobs", "url": "/erpnext-jobs"}, - {"label": "Become a Service Provider", "url": "/faq"} + {"label": "Become a Member", "url": "/faq"} ], "right":1}, {"label": "Foundation", "child_items":[ + {"label": "Projects", "url": "/about/projects"}, + {"label": "Annual Reports", "url": "/about/reports"}, {"label": "About", "url": "/about"}, {"label": "Blog", "url": "/blog"}, {"label": "Memberships", "url": "/members"}, diff --git a/foundation/templates/includes/footer/footer.html b/foundation/templates/includes/footer/footer.html index 8f0724f4..7e51c9a5 100644 --- a/foundation/templates/includes/footer/footer.html +++ b/foundation/templates/includes/footer/footer.html @@ -60,7 +60,7 @@
Community