diff --git a/hrms/www/jobs/index.py b/hrms/www/jobs/index.py index 54cf4e2910..f8f100f134 100644 --- a/hrms/www/jobs/index.py +++ b/hrms/www/jobs/index.py @@ -9,7 +9,10 @@ def get_context(context): context.no_cache = 1 - context.parents = [{"name": _("My Account"), "route": "/"}] + if frappe.session.user == "Guest": + context.parents = [{"name": _("Home"), "route": "/"}] + else: + context.parents = [{"name": _("My Account"), "route": "/me"}] context.body_class = "jobs-page" page_len = 20 filters, txt, sort, offset = get_filters_txt_sort_offset(page_len)