seitime-frappe/frappe/config/desk.py
2015-10-30 16:18:36 +05:30

43 lines
931 B
Python

from __future__ import unicode_literals
from frappe import _
def get_data():
return [
{
"label": _("Tools"),
"icon": "octicon octicon-briefcase",
"items": [
{
"type": "doctype",
"name": "ToDo",
"label": _("To Do"),
"description": _("Documents assigned to you and by you."),
},
{
"type": "doctype",
"name": "Event",
"label": _("Calendar"),
"view": "Calendar",
"description": _("Event and other calendars."),
},
{
"type": "page",
"label": _("Messages"),
"name": "messages",
"description": _("Chat messages and other notifications."),
"data_doctype": "Comment"
},
{
"type": "doctype",
"name": "Note",
"description": _("Private and public Notes."),
},
{
"type": "page",
"label": _("Activity"),
"name": "activity",
"description": _("Activity log of all users."),
},
]
}
]