Skip to content

Commit

Permalink
Merge pull request #18 from GSA-TTS/site-style-and-content-updates
Browse files Browse the repository at this point in the history
Removed some trailing spaces from dataset csv
  • Loading branch information
natashapl authored Apr 15, 2024
2 parents 183aba1 + 4e20b31 commit 1376148
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _data/Mutual_Aid_Supply_Side_Contacts.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Mutual Aid Org ,First Name,Last Name,Title / Org,Address 1 ,Address 2 ,City,State,Zip,Telephone,E-mail,Cell,States Covered,Sourced From
Mutual Aid Org,First Name,Last Name,Title / Org,Address 1,Address 2,City,State,Zip,Telephone,E-mail,Cell,States Covered,Sourced From
International Code Council Regional Office ,Dorothy M.,Mazzarella,Vice President - Government Relations,,,,,,888.422.7233 Ext. 7722,[email protected],518.852.6025,"NY, FL",
International Code Council Regional Office ,Kraig M.,Stevenson,Senior Regional Manager,,,,,,888.422.7233 Ext. 7603,[email protected],562.201.9209,"AK, ID, OR, MT, WA, HI",
International Code Council Regional Office ,Rick,Hauffe,Senior Regional Manager,,,,,,888.422.7233 Ext. 7222,[email protected],605.215.2055,"UT, ND, SD, MN, NE, IA, WY",
Expand Down
Binary file modified _data/Mutual_Aid_Supply_Side_Contacts.numbers
Binary file not shown.
2 changes: 1 addition & 1 deletion _data/csvData.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = async function() {
data2.forEach(contact => {
contact['States Covered'].split(', ').forEach(state => {
state = state.trim();
const orgName = contact['Mutual Aid Org '].trim();
const orgName = contact['Mutual Aid Org'].trim();
let entry = contactsByState.find(entry => entry.state === state && entry.orgName === orgName);
if (!entry) {
entry = { state: state, orgName: orgName, contacts: [] };
Expand Down
2 changes: 1 addition & 1 deletion _includes/layouts/results.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ <h4>Contact Information</h4>
</p>
{% endif %}

{% if contact['Address 1'] != blank or contact['Address 2'] != blank or contact['City'] != blank%}
{% if contact['Address 1'] != blank or contact['Address 2'] != blank or contact['City'] != blank %}
<p>
{% if contact['Address 1'] != blank %}
{{ contact['Address 1'] }}<br>
Expand Down

0 comments on commit 1376148

Please sign in to comment.