[Fix] Job Opening Web Form breadcrumb (#11029)

This commit is contained in:
Revant Nandgaonkar 2017-10-04 14:35:21 +05:30 committed by Nabin Hait
parent eaec4695f7
commit 4d68e03a97

View File

@ -21,7 +21,7 @@ class JobOpening(WebsiteGenerator):
self.route = frappe.scrub(self.job_title).replace('_', '-')
def get_context(self, context):
context.parents = [{'name': 'jobs', 'title': _('All Jobs') }]
context.parents = [{'route': 'jobs', 'title': _('All Jobs') }]
def get_list_context(context):
context.title = _("Jobs")