Skip to content

Commit

Permalink
Merge branch 'version-15-hotfix' into fix-bank-rec-mach-total
Browse files Browse the repository at this point in the history
  • Loading branch information
conncampbell authored Jan 9, 2025
2 parents 8e2e4f0 + 72875c6 commit 09492fe
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
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
12 changes: 7 additions & 5 deletions roster/src/components/MonthViewTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,13 @@
v-if="events.data?.[employee.name]?.[day.date]?.holiday"
class="blocked-cell"
>
{{
events.data[employee.name][day.date].weekly_off
? "WO"
: events.data[employee.name][day.date].description
}}
<div
v-html="
events.data[employee.name][day.date].weekly_off
? '<strong>WO</strong>'
: events.data[employee.name][day.date].description
"
></div>
</div>

<!-- Leave -->
Expand Down

0 comments on commit 09492fe

Please sign in to comment.