Skip to content

Commit

Permalink
feat(Job Portal): add Location
Browse files Browse the repository at this point in the history
(cherry picked from commit a0d83bd)
  • Loading branch information
krantheman authored and mergify[bot] committed Dec 12, 2023
1 parent 9558158 commit 2bae21f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions hrms/hr/doctype/job_opening/job_opening.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ def get_job_openings(
"job_application_route",
"salary_type",
"route",
"location",
]

filters = filters or {}
Expand Down
7 changes: 6 additions & 1 deletion hrms/hr/doctype/job_opening/templates/job_opening_row.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<div class="py-12 px-4" style="font-size: 18px">
<h2 class="mt-0">{{ doc.job_title }}</h2>
<div class="d-flex">
<h2 class="mt-0 mr-2">{{ doc.job_title }}</h2>
{%- if doc.location -%}
<h2 class="mt-0 text-secondary bottom-align">({{ doc.location }})</h2>
{% endif %}
</div>
<p>{{ doc.description or _("No description") }}</p>
{%- if doc.publish_salary_range -%}
<p>
Expand Down

0 comments on commit 2bae21f

Please sign in to comment.