-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* SRCH-234 - More jobs links displayed when no results * update css to correct indentation for jobs results
- Loading branch information
Showing
7 changed files
with
40 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
#jobs.search.collapsible.collapsed.focus-on-next-sibling{ tabindex: -1 } | ||
.content-block-item.content-block-item-header | ||
|
||
= usajobs_logo | ||
%h3{ class: jobs_content_heading_css_classes } | ||
= job_openings_header(search.affiliate.agency) | ||
|
||
- search.jobs.each_with_index do |job, index| | ||
= render partial: 'job', locals: { affiliate: search.affiliate, job: job, position: index + 1 } | ||
- if search.jobs.count > 3 | ||
.content-block-item.content-block-item-footer.content-trigger | ||
= render partial: 'show_more_show_less' | ||
- if search.jobs.present? | ||
- search.jobs.each_with_index do |job, index| | ||
= render partial: 'job', locals: { affiliate: search.affiliate, job: job, position: index + 1 } | ||
- if search.jobs.count > 3 | ||
.content-block-item.content-block-item-footer.content-trigger | ||
= render partial: 'show_more_show_less' | ||
- else | ||
#no-job-results | ||
= t(:no_job_results) | ||
.content-block-item.content-block-item-footer | ||
.see-more= link_to_more_jobs search | ||
.see-more | ||
= link_to_more_jobs search | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters