2019-01-22 12:52:20 +00:00
|
|
|
from __future__ import unicode_literals
|
2015-01-19 12:05:05 +00:00
|
|
|
from frappe import _
|
|
|
|
|
|
|
|
def get_data():
|
|
|
|
return [
|
|
|
|
{
|
2016-03-30 06:59:48 +00:00
|
|
|
"label": _("Portal"),
|
2015-01-19 12:05:05 +00:00
|
|
|
"items": [
|
2016-04-22 13:23:21 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Homepage",
|
|
|
|
"description": _("Settings for website homepage"),
|
|
|
|
},
|
2019-03-19 06:18:32 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Homepage Section",
|
|
|
|
"description": _("Add cards or custom sections on homepage"),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Products Settings",
|
|
|
|
"description": _("Settings for website product listing"),
|
|
|
|
},
|
2015-01-19 12:05:05 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Shopping Cart Settings",
|
|
|
|
"label": _("Shopping Cart Settings"),
|
|
|
|
"description": _("Settings for online shopping cart such as shipping rules, price list etc."),
|
|
|
|
"hide_count": True
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|