[WIP] Task statuses updated in website

This commit is contained in:
Kanchan Chauhan
2016-07-05 12:12:39 +05:30
parent 6a66138764
commit 6d76359c31
11 changed files with 85 additions and 73 deletions

View File

@@ -3,5 +3,8 @@ from __future__ import unicode_literals
import frappe
def get_context(context):
# do your magic here
pass
if frappe.form_dict.project:
context.parents = [{'title': frappe.form_dict.project, 'route': '/projects?project='+ frappe.form_dict.project}]
elif context.doc and context.doc.get('project'):
context.parents = [{'title': context.doc.project, 'route': '/projects?project='+ context.doc.project}]