Commit 592789f3 authored by Nitin Jadhav's avatar Nitin Jadhav
Browse files

Merge branch 'fix/job-list-text-changes' into 'master'

changes job text to grading text

See merge request !48
parents 309de92e f4e764eb
Pipeline #167444 passed with stages
in 37 seconds
......@@ -25,15 +25,18 @@ export function JobList({ jobs, loading, resetFilters, isIframe = false }) {
)}
<hr className="vf-divider" />
<p>
<Link to="/alerts">Create a customised email alert for jobs</Link>
</p>
{isIframe ? (
<div>ebi-bottom</div>
) : (
<p>
<Link to="/alerts">Create a customised email alert for jobs</Link>
</p>
)}
</div>
);
}
JobList.JobListItem = function JobListItem({ job, isIframe = false }) {
const strippedText = stripHtml(job.field_jobs_description);
return (
<article
key={job.id}
......@@ -52,7 +55,7 @@ JobList.JobListItem = function JobListItem({ job, isIframe = false }) {
</Link>
</h3>
<p className="vf-summary__meta">
<p className="vf-summary__meta location">
{job.field_jobs_staff_category}{" "}
{job.field_jobs_group === "EMBO" ? (
<>
......@@ -63,19 +66,13 @@ JobList.JobListItem = function JobListItem({ job, isIframe = false }) {
)}
</p>
<p className="vf-summary__text job-summary multiline-ellipsis">
{strippedText}
</p>
<span className="vf-u-display-none | used-for-search-index">
{strippedText}
</span>
<span className="jplist-job-type | vf-u-display-none">
{job.field_jobs_type_key}
</span>
<p className="vf-summary__date">
Closes{" "}
{formatISODate(parseISODateFromTimeHtml(job.field_jobs_expiration))}
&nbsp;|&nbsp; Grading: {job.field_jobs_advertise_grade}
</p>
</article>
);
......
......@@ -9,3 +9,8 @@ h3.job-title {
.job-summary {
height: 50px;
}
.location {
font-weight: 600;
margin-bottom: 8px;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment