mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 15:42:52 +00:00
Fix translate project.js
This commit is contained in:
@@ -4,11 +4,11 @@
|
|||||||
// show tasks
|
// show tasks
|
||||||
cur_frm.cscript.refresh = function(doc) {
|
cur_frm.cscript.refresh = function(doc) {
|
||||||
if(!doc.__islocal) {
|
if(!doc.__islocal) {
|
||||||
cur_frm.add_custom_button("Gantt Chart", function() {
|
cur_frm.add_custom_button(wn._("Gantt Chart"), function() {
|
||||||
wn.route_options = {"project": doc.name}
|
wn.route_options = {"project": doc.name}
|
||||||
wn.set_route("Gantt", "Task");
|
wn.set_route("Gantt", "Task");
|
||||||
}, "icon-tasks");
|
}, "icon-tasks");
|
||||||
cur_frm.add_custom_button("Tasks", function() {
|
cur_frm.add_custom_button(wn._("Tasks"), function() {
|
||||||
wn.route_options = {"project": doc.name}
|
wn.route_options = {"project": doc.name}
|
||||||
wn.set_route("List", "Task");
|
wn.set_route("List", "Task");
|
||||||
}, "icon-list");
|
}, "icon-list");
|
||||||
|
|||||||
Reference in New Issue
Block a user