Skip to content

Commit d82cba6

Browse files
authored
info pages hbs templates & locales clean-up (#169)
* cleaned up locales/main*.json: - rm unused mobile_msg - fixed typo in en - keep nav title consistent in english * updated locales/resources-*.json: - added links to citywide orgs * updated resources hbs template: - use each helper to iterate over citywide orgs list * updated locales/resources-*.json: - added links to all other orgs * updated resources hbs template: - use inline partial with each helper for rendering other org lists * rm unused links array * made resources hbs partial more dry: - use inline partial for rendering org list by geography - use anchor on h2 element - remove use of a[name] * fixed section anchors on why hbs template * fixed section anchors on how hbs template * updated info pages styles: - added :target styles - rm a[name] styles * updated credits: changed cartodb -> carto * updated info pages :target styles: - use dashed border to make style look distinct from buttons * fixed some broken links in how hbs template * rm usage of _target="blank" on how page * added t9n strings for why videos title
1 parent e183e9b commit d82cba6

File tree

16 files changed

+235
-370
lines changed

16 files changed

+235
-370
lines changed

app/public/locales/how-en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
" contributed kick-ass art work.",
6868
"BetaNYC",
6969
" and its members provided much needed technical & motivational support.",
70-
"CartoDB",
70+
"CARTO",
7171
"hosts the data as well as provides the technology necessary for querying the data and rendering it on a map."
7272
],
7373
"p02": [

app/public/locales/how-es.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
" contribuyó con el arte.",
6868
"BetaNYC",
6969
" y sus socios, proveyeron ayuda técnica y de motivación.",
70-
"CartoDB",
70+
"CARTO",
7171
" servidor de Datos y también proveyó la tecnología necesaria para la búsqueda de estos y su representación en el mapa."
7272
],
7373
"p02": [

app/public/locales/how-zh.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"为本站作了插图。",
6161
"BetaNYC",
6262
"BetaNYC组织及其会员为本站提供了技术以及精神支持。",
63-
"CartoDB",
63+
"CARTO",
6464
"公司支持本站的数据,并提供在线地图数据的技术支持。"
6565
],
6666
"p02": [

app/public/locales/main-en.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"begin": "Begin",
1111
"next": "Next"
1212
},
13-
"mobile_msg": "Please rotate your device or make your browser window taller.",
1413
"slide01": {
1514
"h1": "Half of All Apartments in NYC Are Rent Stabilized.",
1615
"subhead": "Find out if yours is one of them.",
@@ -19,7 +18,7 @@
1918
},
2019
"slide02": {
2120
"h2": "First, let's have your building address and borough.",
22-
"privacy": "We won't share this information or use it commericially.",
21+
"privacy": "We won't share this information or use it commercially.",
2322
"form": {
2423
"label": "Street Address",
2524
"placeholder": "Your NYC street address",

app/public/locales/main-es.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"nav_main": {
33
"accName": "principal",
4-
"title": "¿Tengo Renta Estabilizada?",
4+
"title": "Am I Rent Stabilized?",
55
"why": "¿Porqué es importante?",
66
"how": "¿Cómo funciona?",
77
"resources": "Recursos"
@@ -10,7 +10,6 @@
1010
"begin": "Inicio",
1111
"next": "Siguiente"
1212
},
13-
"mobile_msg": "Favor de rotar su celular.",
1413
"slide01": {
1514
"h1": "La Mitad de Todos Los Apartamentos en la Ciudad de Nueva York Tienen Renta Estabilizada.",
1615
"subhead": "Descubra si el suyo es uno de ellos.",

app/public/locales/main-zh.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"begin": "开始",
1111
"next": "下一页"
1212
},
13-
"mobile_msg": "请旋转你的屏幕",
1413
"slide01": {
1514
"h1": "在纽约,至少有一半的住房租金是稳定的。",
1615
"subhead": "也许你的住房是其中之一。",

app/public/locales/resources-en.json

Lines changed: 42 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,54 +22,67 @@
2222
"ul": [
2323
{
2424
"org": "Asian Americans For Equality",
25+
"link": "http://www.aafe.org/",
2526
"desc": "AFE is committed to preserving affordable housing throughout New York and to providing new opportunities for the city’s diverse immigrant communities."
2627
},
2728
{
2829
"org": "Association for Neighborhood and Housing Development",
30+
"link": "http://www.anhd.org/",
2931
"desc": "Affordable Housing and Community Development organization. Runs trainings on tenants rights."
3032
},
3133
{
3234
"org": "Churches United For Fair Housing",
35+
"link": "http://cuffh.org/",
3336
"desc": "Brooklyn based organization that organizes towards preserving and creating vibrant communities that are not exclusive and are really affordable to working families in New York City."
3437
},
3538
{
3639
"org": "Eviction Intervention Services",
40+
"link": "http://www.eisny.org/",
3741
"desc": "Performs homelessness prevention by keeping residents in their communities, preserving existing affordable housing, and promoting and supporting the construction of affordable housing for low, moderate and middle-income households in NYC."
3842
},
3943
{
4044
"org": "Make The Road New York",
45+
"link": "http://www.maketheroadny.org/",
4146
"desc": "Works with Latino and working class communities to achieve dignity and justice through organizing, policy innovation, transformative education, and survival services."
4247
},
4348
{
4449
"org": "Metropolitan Council on Housing",
50+
"link": "http://metcouncilonhousing.org/",
4551
"desc": "Operates a number of tenant-assistance programs including a tenants' rights telephone hotline and a walk-in clinic, which serve thousands per year and are free and open to any New York City tenant."
4652
},
4753
{
4854
"org": "MFY Legal Services Inc.",
55+
"link": "http://www.mfy.org/projects",
4956
"desc": "Provides free legal assistance to residents of New York City on a wide range of civil legal issues, prioritizing services to vulnerable and under-served populations."
5057
},
5158
{
5259
"org": "Picture the Homeless",
60+
"link": "http://www.picturethehomeless.org/",
5361
"desc": "Works to advocate for affordable housing and performs outreach for homeless NYC residents."
5462
},
5563
{
5664
"org": "Rent Logic",
65+
"link": "https://rentlogic.com/",
5766
"desc": "Rentlogic helps people find out everything about an apartment before they sign a lease, including mold, bedbugs, vermin or if the landlord has a history of tenant harassment."
5867
},
5968
{
6069
"org": "Right To The City Alliance",
70+
"link": "http://righttothecity.org/",
6171
"desc": "Works to prevent the displacement of low-income people, people of color, and LGBTQ persons. Operates nationally."
6272
},
6373
{
6474
"org": "Stabilizing NYC",
75+
"link": "http://stabilizingnyc.org/",
6576
"desc": "Stabilizing NYC is a coalition comprised of fourteen grassroots neighborhood-based organizations, a citywide legal service provider and a citywide housing advocacy organization who have come together to combat tenant harassment and preserve affordable housing for the New Yorkers who need it most. This project combines legal, advocacy and organizing resources into a citywide network to help tenants take their predatory equity landlords to task for patchwork repairs, bogus eviction cases, and affirmative harassment."
6677
},
6778
{
6879
"org": "Tenants and Neighbors",
80+
"link": "http://www.tenantsandneighbors.org/",
6981
"desc": "Helps tenants organize at the building and community level to preserve at-risk affordable housing."
7082
},
7183
{
7284
"org": "Urban Homesteading Assistance Board",
85+
"link": "http://www.uhab.org/",
7386
"desc": "Helps low to moderate income residents to take control of their housing and enhance their communities by creating strong tenant associations and lasting affordable co-ops."
7487
}
7588
]
@@ -80,22 +93,27 @@
8093
"ul": [
8194
{
8295
"org": "Brooklyn Housing And Family Services, Inc.",
96+
"link": "http://brooklynhousing.org/",
8397
"desc": "Works to provide Brooklyn residents with safe and affordable housing through outreach and counseling services."
8498
},
8599
{
86100
"org": "Bronx Shepherds Restoration Corporation",
101+
"link": "http://www.bronxshepherds.org/",
87102
"desc": "Provides affordable housing, community programs and many other service to residents of the Bronx community."
88103
},
89104
{
90105
"org": "Brooklyn Legal Services Corporation A",
106+
"link": "http://www.bka.org/",
91107
"desc": "Provides high-quality legal assistance to low-income individuals and community groups in Brooklyn."
92108
},
93109
{
94110
"org": "Queens Community House, Inc.",
111+
"link": "http://queenscommunityhouse.org/",
95112
"desc": "Helps all Queens residents with affordable housing and community development."
96113
},
97114
{
98115
"org": "Neighborhood Housing Services of Staten Island",
116+
"link": "https://hcr.ny.gov/location/neighborhood-housing-services-staten-island",
99117
"desc": "Promotes affordable housing and safety of residents in Staten Island / Richmond County."
100118
}
101119
]
@@ -106,58 +124,72 @@
106124
"ul": [
107125
{
108126
"org": "Carroll Gardens Association",
127+
"link": "http://www.carrollgardensassociation.com/",
109128
"desc": "Develops affordable/workforce housing and provides economic development, workforce training, youth services, tenant services and benefits assistance to the residents of Southwest Brooklyn."
110129
},
111130
{
112131
"org": "Cooper Square Committee",
132+
"link": "https://coopersquare.org/",
113133
"desc": "Helps organize tenants in the Cooper Square neighborhood of the East Village."
114134
},
115135
{
116136
"org": "Crown Heights Tenants Union",
137+
"link": "http://crownheightstenantunion.org/",
117138
"desc": "A union of Tenant Associations, that began meeting in October 2013 in response to rampant gentrification, displacement, and illegal rental overcharges in Crown Heights, Brooklyn."
118139
},
119140
{
120141
"org": "East New York Urban Youth Corps",
142+
"link": "http://www.enyuyc.net/",
121143
"desc": "Neighborhood-based, non-profit community development organization serving East New York, Brooklyn."
122144
},
123145
{
124146
"org": "El Barrio's Operation Fight Back",
147+
"link": "http://www.ebofb.org/",
125148
"desc": "Renovates, manages and provides affordable housing, supportive services, education, advocacy and economic development opportunities for low-income families in East Harlem."
126149
},
127150
{
128151
"org": "Fifth Avenue Committee, Inc.",
152+
"link": "http://www.fifthave.org/",
129153
"desc": "Helps tenants and promotes community development in south Brooklyn and lower Park Slope."
130154
},
131155
{
132156
"org": "Flatbush Development Corp.",
157+
"link": "http://www.fdconline.org/",
133158
"desc": "Performs community development and affordable housing in Flatbush, Brooklyn."
134159
},
135160
{
136161
"org": "Manhattan Valley Development Corporation",
162+
"link": "http://mvdc.org/",
137163
"desc": "Provides safe, decent housing that low income families and individuals can afford in Manhattan Valley and throughout Upper Manhattan."
138164
},
139165
{
140166
"org": "Neighborhood Housing Services of NYC, Inc.",
167+
"link": "http://www.nhsnyc.org/",
141168
"desc": "Community-based organization with targeted impact in the following Neighborhoods: Bedford-Stuyvesant, East Flatbush, North Bronx, Northern Queens, and South Bronx."
142169
},
143170
{
144171
"org": "North West Bushwick Community Group",
172+
"link": "http://nwbcommunity.org/",
145173
"desc": "Helps tenants in the Bushwick neighborhood of Brooklyn fight illegal evictions and promotes the preservation and development of truly affordable housing."
146174
},
147175
{
148176
"org": "Pratt Area Community Council",
177+
"link": "https://impacctbrooklyn.org",
149178
"desc": "Promotes affordable housing and small business development in central Brooklyn."
150179
},
151180
{
152181
"org": "St. Nicholas Neighborhood Preservation Corporation",
182+
"link": "http://stnicksalliance.org/SNA/#",
153183
"desc": "Helps to preserve and rebuild the Williamsburg-Greenpoint neighborhood to the benefit of its low- and moderate-income residents."
154184
},
155185
{
156186
"org": "University Neighborhood Housing Program",
187+
"link": "http://www.unhp.org/",
157188
"desc": "A nonprofit organization working to create, preserve, and finance affordable housing in the Northwest Bronx."
158189
},
159190
{
160191
"org": "Women’s Housing and Economic Development Corporation",
192+
"link": "http://www.whedco.org/",
161193
"desc": "Community development organization that builds affordable housing and promotes community development in the south Bronx."
162194
}
163195
]
@@ -169,36 +201,42 @@
169201
"ul": [
170202
{
171203
"org": "New York Department of Homes and Community Renewal",
172-
"desc": "Where you may file a complaint for a rent over charge and ask for advice on housing related issues. You may also speak with them in person at a local",
173-
"a": "HCR Office."
204+
"link": "http://www.nyshcr.org/",
205+
"desc": "Where you may file a complaint for a rent over charge and ask for advice on housing related issues. You may also speak with them in person at a local HCR Office."
174206
},
175207
{
176208
"org": "NYC Automated City Register Information System",
209+
"link": "http://a836-acris.nyc.gov/CP/",
177210
"desc": "Look up property transaction information such as when a property was bought and sold by whom."
178211
},
179212
{
180213
"org": "NYC Department of Buildings",
214+
"link": "http://www.nyc.gov/html/dob/html/bis/bis.shtml",
181215
"desc": "Look up building permits and violations."
182216
},
183217
{
184218
"org": "NYC DRIE",
219+
"link": "http://www1.nyc.gov/nyc-resources/service/1522/disability-rent-increase-exemption-drie-program",
185220
"desc": "Tenants that qualify for the NYC Rent Freeze Program for Tenants with Disabilities (DRIE) can have their rent frozen and be exempt from future rent increases."
186221
},
187222
{
188223
"org": "NYC Housing Connect",
224+
"link": "https://a806-housingconnect.nyc.gov/nyclottery/lottery.html#home",
189225
"desc": "Search for and be notified of new affordable housing in NYC. Many new buildings in NYC are required by law to have a portion of their units rented below market rate. To qualify to rent these units you must meet certain income criteria."
190226
},
191227
{
192228
"org": "NYC Housing Preservation and Development",
193-
"desc": "The NYC agency that oversees preserving the stability and affordability of our existing housing stock. You may also ",
194-
"a": "find housing violations by building address here."
229+
"link": "http://www1.nyc.gov/site/hpd/index.page",
230+
"desc": "The NYC agency that oversees preserving the stability and affordability of our existing housing stock. You may also find housing violations by building address here."
195231
},
196232
{
197233
"org": "NYC Rent Guidelines Board",
234+
"link": "http://nycrgb.org/html/resources/resources.html",
198235
"desc": "Important info for renters in NYC."
199236
},
200237
{
201238
"org": "NYC SCRIE",
239+
"link": "http://www1.nyc.gov/nyc-resources/service/2424/senior-citizen-rent-increase-exemption-scrie",
202240
"desc": "Tenants who qualify for the NYC Rent Freeze Program for Seniors (SCRIE) can have their rent frozen and be exempt from future rent increases."
203241
}
204242
]

0 commit comments

Comments
 (0)