Skip to content

Commit

Permalink
Merge pull request #169 from Ches-ctrl/21/05/24_job_show_page
Browse files Browse the repository at this point in the history
21/05/24 job show page
  • Loading branch information
Ches-ctrl authored May 24, 2024
2 parents 5083059 + de2f395 commit 37094c3
Show file tree
Hide file tree
Showing 23 changed files with 1,047 additions and 6,005 deletions.
2 changes: 1 addition & 1 deletion app/controllers/jobs_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def show
@job = Job.find(params[:id])
@company = @job.company
@saved_job = SavedJob.new
@description = sanitize @job.description
@description = sanitize(@job.description).html_safe
end

def add_job
Expand Down
2 changes: 1 addition & 1 deletion app/models/concerns/ats/greenhouse/job_details.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def job_details(job, data)
job.assign_attributes(
posting_url: data['absolute_url'],
title:,
description: Flipper.enabled?(:job_description) ? data['description'] : 'Not added yet',
description: Flipper.enabled?(:job_description) ? CGI.unescapeHTML(data['content']) : 'Not added yet',
non_geocoded_location_string: location,
department: data.dig('departments', 0, 'name'),
office: data.dig('offices', 0, 'name'),
Expand Down
907 changes: 274 additions & 633 deletions spec/fixtures/cassettes/bad_company_data.yml

Large diffs are not rendered by default.

34 changes: 16 additions & 18 deletions spec/fixtures/cassettes/create_company_ashbyhq.yml

Large diffs are not rendered by default.

63 changes: 31 additions & 32 deletions spec/fixtures/cassettes/create_company_bamboohr.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 27 additions & 31 deletions spec/fixtures/cassettes/create_company_greenhouse.yml

Large diffs are not rendered by default.

24 changes: 11 additions & 13 deletions spec/fixtures/cassettes/create_company_lever.yml

Large diffs are not rendered by default.

154 changes: 21 additions & 133 deletions spec/fixtures/cassettes/create_company_manatal.yml

Large diffs are not rendered by default.

68 changes: 33 additions & 35 deletions spec/fixtures/cassettes/create_company_pinpointhq.yml

Large diffs are not rendered by default.

166 changes: 11 additions & 155 deletions spec/fixtures/cassettes/create_company_recruitee.yml

Large diffs are not rendered by default.

Loading

0 comments on commit 37094c3

Please sign in to comment.