Skip to content

Commit

Permalink
fix: move closes on down
Browse files Browse the repository at this point in the history
(cherry picked from commit db1448a)
  • Loading branch information
krantheman authored and mergify[bot] committed Dec 12, 2023
1 parent 2d4eb3b commit a537aad
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions hrms/www/jobs/index.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{% extends "templates/web.html" %}
{% block page_content %}
<div class="mx-32 ">
<div class="mx-32 my-20">
{% for jo in job_openings %}
<div class="mb-8 card border p-6">
<div class="flex">
<div class="mr-12">
<div class="row">
<div class="col-8 pr-12">
<h3 class="mt-0 mb-3">{{ jo.job_title }}</h3>
<div class="flex mb-8 align-items-center primary-stroke">
<svg class="icon icon-lg ml-0 mr-1">
Expand All @@ -29,16 +29,10 @@ <h3 class="mt-0 mb-3">{{ jo.job_title }}</h3>
</svg>
<p class="mr-3 ">{{ jo.location }}</p>
{% endif %}
{%- if jo.employment_type -%}
<svg class="icon icon-md ml-0 mr-1">
<use href="#icon-hr"></use>
</svg>
<p class="mr-3 ">{{ jo.employment_type }}</p>
{% endif %}
</div>
<a href="{{ jo.route }}">{{ _("Learn More →") }}</a>
</div>
<div class="ml-auto flex flex-column">
<div class="col-4 flex flex-column">
{%- if jo.publish_salary_range -%}
<p class="font-weight-bold salary text-right">
{{ frappe.format_value(frappe.utils.flt(jo.lower_range) ,
Expand All @@ -47,7 +41,7 @@ <h3 class="mt-0 mb-3">{{ jo.job_title }}</h3>
</p>
<p class="text-secondary text-right">{{ jo.salary_type.lower() }}</p>
{% endif %}
<p class="font-italic text-right">
<p class="font-italic text-right mt-auto">
{%- if jo.closes_on -%} {{ _("Closes on " +
frappe.format_date(jo.closes_on, "d MMM, YYYY") ) }}
{% endif %}
Expand Down

0 comments on commit a537aad

Please sign in to comment.