brotherton-erpnext/projects/page/projects_home/projects_home.js
2013-02-28 18:42:46 +05:30

63 lines
1.3 KiB
JavaScript

// ERPNext: Copyright 2013 Web Notes Technologies Pvt Ltd
// GNU General Public License. See "license.txt"
wn.module_page["Projects"] = [
{
title: wn._("Documents"),
icon: "icon-copy",
items: [
{
label: wn._("Task"),
description: wn._("Project activity / task."),
doctype:"Task"
},
{
label: wn._("Project"),
description: wn._("Project master."),
doctype:"Project"
},
{
label: wn._("Time Log"),
description: wn._("Time Log for tasks."),
doctype:"Time Log"
},
{
label: wn._("Time Log Batch"),
description: wn._("Batch Time Logs for billing."),
doctype:"Time Log Batch"
},
{
label: wn._("Timesheet"),
description: wn._("[DEPRECATED] Timesheet for tasks."),
doctype:"Timesheet"
},
]
},
{
title: wn._("Tools"),
icon: "icon-wrench",
items: [
{
page: "Projects",
label: wn._("Gantt Chart"),
"description":wn._("Gantt chart of all tasks.")
},
]
},
{
title: wn._("Masters"),
icon: "icon-book",
items: [
{
label: wn._("Activity Type"),
description: wn._("Types of activities for Time Sheets"),
doctype:"Activity Type"
},
]
},
]
pscript['onload_projects-home'] = function(wrapper) {
wn.views.moduleview.make(wrapper, "Projects");
}