Skip to content

Commit

Permalink
Update links
Browse files Browse the repository at this point in the history
  • Loading branch information
ebrelsford committed Apr 24, 2024
1 parent dd79ea2 commit 8fe076c
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 22 deletions.
22 changes: 9 additions & 13 deletions handlebars_templates/handlebars_templates.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions handlebars_templates/lots.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
{{#each rows}}
<li class="lot" data-borough="{{borough}}" data-block="{{block}}" data-lot="{{lot}}">
<div class="lot-external-links">
{{#if in_596}}
<a href="http://livinglotsnyc.org/lot/{{bbl}}/" target="_blank" title="View on Living Lots NYC"><img width="22" height="22" src="img/livinglotsnyc.png" /></a>
{{/if}}
<a title="View on OASIS" href="http://www.oasisnyc.net/map.aspx?etabs=1&zoomto=lot:{{bbl}}" target="_blank"><img width="22" height="22" src="img/oasis.ico" /></a>
<a title="View on ZOLA"
href="https://zola.planning.nyc.gov/l/lot/{{borough_code}}/{{block}}/{{lot}}" target="_blank">ZOLA</a>
</div>
<h3>{{borough}} block {{block}}, lot {{lot}}</h3>
<div>Planned use:
Expand Down
2 changes: 1 addition & 1 deletion js/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -5075,7 +5075,7 @@ function loadDetails(planName, success) {

function loadLots($target, planName) {
var sql =
"SELECT p.borough AS borough, l.bbl AS bbl, l.block AS block, " +
"SELECT p.borough AS borough, LEFT(l.bbl, 1) AS borough_code, l.bbl AS bbl, l.block AS block, " +
"l.lot AS lot, l.disposition_display AS disposition, " +
"l.in_596 as in_596 " +
"FROM lots l LEFT OUTER JOIN plans p ON l.plan_id=p.cartodb_id " +
Expand Down
6 changes: 3 additions & 3 deletions js/bundle.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/plans.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function loadDetails(planName, success) {

function loadLots($target, planName) {
var sql =
"SELECT p.borough AS borough, l.bbl AS bbl, l.block AS block, " +
"SELECT p.borough AS borough, LEFT(l.bbl, 1) AS borough_code, l.bbl AS bbl, l.block AS block, " +
"l.lot AS lot, l.disposition_display AS disposition, " +
"l.in_596 as in_596 " +
"FROM lots l LEFT OUTER JOIN plans p ON l.plan_id=p.cartodb_id " +
Expand Down

0 comments on commit 8fe076c

Please sign in to comment.