Skip to content

Commit

Permalink
Merge pull request #68 from pulibrary/reorder-headings
Browse files Browse the repository at this point in the history
  • Loading branch information
bess authored Dec 11, 2023
2 parents 5df10f3 + e9e39b3 commit 1291a7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/home/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<div class="container">
<div class="row">
<div class="col-md-12">
<h1><%= link_to 'Recently posted jobs ›', jobs_path, class: 'text-reset' %></h1>
<h2><%= link_to 'Recently posted jobs ›', jobs_path, class: 'text-reset' %></h2>
<%= render 'jobs/table', jobs: @jobs, show_pagination: false %>
<%= link_to 'View all jobs', jobs_path, class: 'btn btn-primary' %>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/jobs/_table.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<% jobs.each do |job| %>
<li class="card job position-relative">
<div class="card-header">
<h5 class="card-title"><%= link_to job.title, job, class: 'stretched-link' %></h5>
<h3 class="card-title"><%= link_to job.title, job, class: 'stretched-link' %></h3>
<div class="card-subtitle"><%= safe_join([job.employer&.name, job.location].reject(&:blank?), ' — ') %></div>
</div>

Expand Down

0 comments on commit 1291a7e

Please sign in to comment.