Skip to content

Commit

Permalink
Merge pull request #636 from CuBoulder/issue/628
Browse files Browse the repository at this point in the history
Adds label fields for "Department" and "Job Type" on People List Pages
  • Loading branch information
patrickbrown-io authored and web-flow committed Jan 26, 2024
2 parents d8c6bca + ea8a892 commit b36fb82
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- ### Adds label fields for "Department" and "Job Type" on People List Pages
Resolves CuBoulder/tiamat-theme#626

Sister PR in: [ucb_site_configuration](https://github.com/CuBoulder/ucb_site_configuration/pull/44)
---

- ### Claro theme
Updated theme files to accommodate the change to Claro.
---
Expand Down
4 changes: 2 additions & 2 deletions templates/content/node--ucb-people-list-page.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@
department: {
includes: content.field_ucb_people_department|render|striptags|trim|split(' '),
userAccessible: content.field_ucb_people_department_s|render|striptags|trim == 'On',
label: 'Department',
label: people_list_department_label,
restrict: true
},
job_type: {
includes: content.field_ucb_people_job_type|render|striptags|trim|split(' '),
userAccessible: content.field_ucb_people_job_type_s|render|striptags|trim == 'On',
label: 'Job Type',
label: people_list_job_type_label,
restrict: true
},
filter_1: {
Expand Down

0 comments on commit b36fb82

Please sign in to comment.