Skip to content

Commit

Permalink
Merge branch 'develop' into fix/docker-compose-issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Gowthamk007m authored Jan 8, 2025
2 parents 2403764 + 25a9028 commit f5fc48b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion hrms/www/jobs/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f5fc48b

Please sign in to comment.