Skip to content

Commit

Permalink
fix: spacing
Browse files Browse the repository at this point in the history
(cherry picked from commit eecb401)
  • Loading branch information
krantheman authored and mergify[bot] committed Dec 12, 2023
1 parent ed29c27 commit 2e27dcc
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions hrms/www/jobs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,32 +22,32 @@
<div class="row">
<div class="col-9">
<h3 class="mt-0 mb-3">{{ jo.job_title }}</h3>
<div class="flex mb-3 align-items-center secondary-stroke text-secondary">
<svg class="icon icon-md ml-0 mr-1">
<use href="#icon-organization"></use>
</svg>
<p class="mr-3 ">{{ jo.company }}</p>
{%- if jo.department -%}
<div class="mb-8">
<div class="flex mb-3 align-items-center secondary-stroke text-secondary">
<svg class="icon icon-md ml-0 mr-1">
<use href="#icon-branch"></use>
<use href="#icon-organization"></use>
</svg>
<p class="mr-3 ">{{ jo.department }}</p>
{% endif %}
{%- if jo.location -%}
<svg class="icon icon-md ml-0 mr-1"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 16 16">
<g stroke="var(--secondary)" stroke-miterlimit="10">
<path d="M11.467 3.458c1.958 1.957 1.958 5.088.027 7.02L7.97 14l-3.523-3.523a4.945 4.945 0 010-6.993l.026-.026a4.922 4.922 0 016.993 0zm0 0c-.026-.026-.026-.026 0 0z">
</path>
<path d="M7.971 8.259a1.305 1.305 0 100-2.61 1.305 1.305 0 000 2.61z"></path>
</g>
</svg>
<p class="mr-3 ">{{ jo.location }}</p>
{% endif %}
</div>
{%- if jo.publish_salary_range -%}
<div class="mb-8">
<p class="mr-3 ">{{ jo.company }}</p>
{%- if jo.department -%}
<svg class="icon icon-md ml-0 mr-1">
<use href="#icon-branch"></use>
</svg>
<p class="mr-3 ">{{ jo.department }}</p>
{% endif %}
{%- if jo.location -%}
<svg class="icon icon-md ml-0 mr-1"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 16 16">
<g stroke="var(--secondary)" stroke-miterlimit="10">
<path d="M11.467 3.458c1.958 1.957 1.958 5.088.027 7.02L7.97 14l-3.523-3.523a4.945 4.945 0 010-6.993l.026-.026a4.922 4.922 0 016.993 0zm0 0c-.026-.026-.026-.026 0 0z">
</path>
<path d="M7.971 8.259a1.305 1.305 0 100-2.61 1.305 1.305 0 000 2.61z"></path>
</g>
</svg>
<p class="mr-3 ">{{ jo.location }}</p>
{% endif %}
</div>
{%- if jo.publish_salary_range -%}
<p>
<span class="font-weight-bold salary">
{{ frappe.format_value(frappe.utils.flt(jo.lower_range) ,
Expand All @@ -56,8 +56,8 @@ <h3 class="mt-0 mb-3">{{ jo.job_title }}</h3>
</span>
<span class="text-secondary">{{ jo.salary_type.lower() }}</span>
</p>
</div>
{% endif %}
{% endif %}
</div>
<div>
{%- if job_application_route -%}
<a class="btn btn-primary"
Expand All @@ -78,11 +78,11 @@ <h3 class="mt-0 mb-3">{{ jo.job_title }}</h3>
<span class="ml-auto smol-text py-1 px-3 font-weight-bold other-badge">{{ jo.employment_type }}</span>
{% endif %}
{% endif %}
<p class="font-italic text-right text-secondary mt-auto smol-text">
{%- if jo.closes_on -%} {{ _("Closes on " +
frappe.format_date(jo.closes_on, "d MMM, YYYY") ) }}
{% endif %}
</p>
{%- if jo.closes_on -%}
<p class="font-italic text-right text-secondary mt-auto smol-text">
{{ _("Closes on " + frappe.format_date(jo.closes_on, "d MMM, YYYY") ) }}
</p>
{% endif %}
</div>
</div>
</div>
Expand Down

0 comments on commit 2e27dcc

Please sign in to comment.