Aditya Hase | f3c22f3 | 2019-01-22 18:22:20 +0530 | [diff] [blame] | 1 | from __future__ import unicode_literals |
Rushabh Mehta | 71a6b93 | 2015-01-19 17:35:05 +0530 | [diff] [blame] | 2 | from frappe import _ |
| 3 | |
| 4 | def get_data(): |
| 5 | return [ |
| 6 | { |
Rushabh Mehta | c78b311 | 2016-03-30 12:29:48 +0530 | [diff] [blame] | 7 | "label": _("Portal"), |
Rushabh Mehta | 71a6b93 | 2015-01-19 17:35:05 +0530 | [diff] [blame] | 8 | "items": [ |
| 9 | { |
| 10 | "type": "doctype", |
Anand Doshi | e3bd78e | 2016-04-22 18:53:21 +0530 | [diff] [blame] | 11 | "name": "Homepage", |
| 12 | "description": _("Settings for website homepage"), |
| 13 | }, |
| 14 | { |
| 15 | "type": "doctype", |
Faris Ansari | 5f8b358 | 2019-03-19 11:48:32 +0530 | [diff] [blame] | 16 | "name": "Homepage Section", |
| 17 | "description": _("Add cards or custom sections on homepage"), |
| 18 | }, |
| 19 | { |
| 20 | "type": "doctype", |
| 21 | "name": "Products Settings", |
| 22 | "description": _("Settings for website product listing"), |
| 23 | }, |
| 24 | { |
| 25 | "type": "doctype", |
Rushabh Mehta | 71a6b93 | 2015-01-19 17:35:05 +0530 | [diff] [blame] | 26 | "name": "Shopping Cart Settings", |
| 27 | "label": _("Shopping Cart Settings"), |
| 28 | "description": _("Settings for online shopping cart such as shipping rules, price list etc."), |
| 29 | "hide_count": True |
| 30 | } |
| 31 | ] |
| 32 | } |
| 33 | ] |