Skip to content

Commit

Permalink
feat: improve ui
Browse files Browse the repository at this point in the history
(cherry picked from commit bb44dfa)
  • Loading branch information
krantheman authored and mergify[bot] committed Dec 12, 2023
1 parent 2bae21f commit ee84d3c
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions hrms/hr/doctype/job_opening/templates/job_opening_row.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
<div class="py-12 px-4" style="font-size: 18px">
<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>
<h2 class="mt-0">
{{ doc.job_title }} {%- if doc.location -%}
<small class="text-secondary ml-2">({{ doc.location }})</small>
{% endif %}
</div>
</h2>
<p>{{ doc.description or _("No description") }}</p>
{%- if doc.publish_salary_range -%}
<p>
<b>{{_("Salary Range ")}} ({{_(doc.salary_type.lower())}}): </b>{{
frappe.format_value(frappe.utils.flt(doc.lower_range),
currency=doc.currency) }} - {{
frappe.format_value(frappe.utils.flt(doc.upper_range),
currency=doc.currency) }}
<i>
{{_("Salary range " + doc.salary_type.lower())}}:
<b
>{{ frappe.format_value(frappe.utils.flt(doc.lower_range),
currency=doc.currency) }} - {{
frappe.format_value(frappe.utils.flt(doc.upper_range),
currency=doc.currency) }}
</b>
</i>
</p>
{% endif %}
<a href="{{ doc.route }}"> {{ _("Learn More →") }}</a>
Expand Down

0 comments on commit ee84d3c

Please sign in to comment.