Skip to content

Commit

Permalink
Merge pull request #713 from GSA-TTS/feature/hide-upcoming
Browse files Browse the repository at this point in the history
Feature/hide upcoming
  • Loading branch information
ximekilgsa authored Dec 18, 2024
2 parents 7d743da + f7f32b6 commit f03c597
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
9 changes: 4 additions & 5 deletions _data/assetPaths.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
"admin.map": "/assets/js/admin-77FHK54G.js.map",
"app.js": "/assets/js/app-U5OIPSUD.js",
"app.map": "/assets/js/app-U5OIPSUD.js.map",
"positions.js": "/assets/js/positions-VVHKRLDJ.js",
"positions.map": "/assets/js/positions-VVHKRLDJ.js.map",
"positions.js": "/assets/js/positions-JSZISVTK.js",
"positions.map": "/assets/js/positions-JSZISVTK.js.map",
"subnav.js": "/assets/js/subnav-3QHQ2EX4.js",
"subnav.map": "/assets/js/subnav-3QHQ2EX4.js.map",
"uswds.js": "/assets/js/uswds-init.js",
"styles.css": "/assets/styles/styles-WFQMHBOR.css",
"styles.map": "/assets/styles/styles-WFQMHBOR.css.map"
"styles.css": "/assets/styles/styles-VHE4JBMV.css",
"styles.map": "/assets/styles/styles-VHE4JBMV.css.map"
}
2 changes: 1 addition & 1 deletion _includes/layouts/jointts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h1>{{ title }}</h1>
{% include "layouts/jointts/jobs.html" %}

<!-- Other Opportunities -->
<h2>Other GSA Opportunities</h2>
<h2 id="other-opportunities">Other GSA Opportunities</h2>
<p>Check out <a href="https://www.gsa.gov/about-us/find-apply-for-and-land-a-job-at-gsa">careers at GSA</a> and more <a href="https://www.usajobs.gov/Search/Results?j=2210&d=GS&p=1">Information Technology opportunities.</a></p>

<!-- Application Process -->
Expand Down
6 changes: 1 addition & 5 deletions js/positions.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,7 @@ function addUpcomingJobsToDOM(upcomingJobs) {

upcomingJobsSection.appendChild(jobList);
} else {
const noJobsText = document.createElement("p");
noJobsText.innerHTML =
'No upcoming positions at this time. Sign up for <a href="/join/newsletter/">job alerts!</a>';

openJobsSection.appendChild(noJobsText);
upcomingJobsSection.remove();
}
}

Expand Down
5 changes: 5 additions & 0 deletions styles/tts-custom-styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -336,4 +336,9 @@ h4#specialized-requirements {
ul p {
font-weight: 400;
}
}

/* Job Sections */
.open-jobs + #other-opportunities {
margin-top: 1.5em;
}

0 comments on commit f03c597

Please sign in to comment.