Skip to content

Commit

Permalink
Reorder keys in details page (#699)
Browse files Browse the repository at this point in the history
I realized the status is the most important detail about any particular
policy record. We also don't need to say the word "Reform" so much
because it's clear that's what it is.
  • Loading branch information
Eric-Arellano authored Jan 2, 2025
1 parent ea23797 commit 56baa83
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 23 deletions.
6 changes: 3 additions & 3 deletions scripts/11ty/_includes/policy-record-body.liquid
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<p class="summary">{{ record.summary }}</p>
<dl>
<dt>Status</dt>
<dd>{{ record.status }}</dd>
{% if record.date -%}
<dt>Reform date</dt>
<dd>{{ record.date }}</dd>
{%- endif %}
<dt>Reform status</dt>
<dd>{{ record.status }}</dd>
<dt>Reform scope</dt>
<dt>Scope</dt>
<dd>{% render "string-array" array: record.scope %}</dd>
<dt>Affected land uses</dt>
<dd>{% render "string-array" array: record.landUse %}</dd>
Expand Down
4 changes: 2 additions & 2 deletions scripts/11ty/legacy.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ layout: layout.liquid
<dl>
<dt>Reform type</dt>
<dd>{% render "string-array" array: entry.policyChange %}</dd>
<dt>Reform status</dt>
<dd>{{ entry.status }}</dd>
{% if entry.date -%}
<dt>Reform date</dt>
<dd>{{ entry.date }}</dd>
{%- endif %}
<dt>Reform status</dt>
<dd>{{ entry.status }}</dd>
<dt>Reform scope</dt>
<dd>{% render "string-array" array: entry.scope %}</dd>
<dt>Affected land uses</dt>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ <h1>Parking reforms in Abbottstown, PA</h1>
<h2>Parking minimum reduction</h2>
<p class="summary">Parking requirements may be reduced through on-street parking, public parking and proximity to transit.</p>
<dl>

<dt>Reform status</dt>
<dt>Status</dt>
<dd>Adopted</dd>
<dt>Reform scope</dt>

<dt>Scope</dt>
<dd>Citywide</dd>
<dt>Affected land uses</dt>
<dd><ul><li>All uses</li><li>Commercial</li><li>Industrial</li><li>Medical</li><li>Other</li><li>Residential, multi-family</li></ul></dd>
Expand Down Expand Up @@ -81,10 +81,10 @@ <h2>Parking minimum reduction</h2>
<h2>Parking maximum</h2>
<p class="summary">Parking maximums are set at 110% of the minimums for nonresidential uses.</p>
<dl>

<dt>Reform status</dt>
<dt>Status</dt>
<dd>Adopted</dd>
<dt>Reform scope</dt>

<dt>Scope</dt>
<dd>Citywide</dd>
<dt>Affected land uses</dt>
<dd><ul><li>Commercial</li><li>Industrial</li><li>Medical</li><li>Other</li></ul></dd>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ <h1>Parking reforms in Abilene, TX</h1>
<h2>Parking minimum reduction</h2>
<p class="summary">Existing buildings within the Central Business (CB) district are exempt from parking requirements. On-street parking may count towards minimums for new development in the district.</p>
<dl>

<dt>Reform status</dt>
<dt>Status</dt>
<dd>Adopted</dd>
<dt>Reform scope</dt>

<dt>Scope</dt>
<dd>City center / business district</dd>
<dt>Affected land uses</dt>
<dd>All uses</dd>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ <h1>Parking reforms in Auburn, ME</h1>
<h2>Parking minimum removal</h2>
<p class="summary">Parking requirements have been removed for all uses except for residential uses under Formed Based Code.</p>
<dl>
<dt>Status</dt>
<dd>Adopted</dd>
<dt>Reform date</dt>
<dd>Jul 19, 2021</dd>
<dt>Reform status</dt>
<dd>Adopted</dd>
<dt>Reform scope</dt>
<dt>Scope</dt>
<dd>Citywide</dd>
<dt>Affected land uses</dt>
<dd><ul><li>Commercial</li><li>Industrial</li><li>Other</li></ul></dd>
Expand Down
12 changes: 6 additions & 6 deletions tests/scripts/generateHtmlPages.test.ts-snapshots/basalt-co.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ <h1>Parking reforms in Basalt, CO</h1>
<h2>Parking minimum reduction</h2>
<p class="summary">Within the Downtown Parking Area, a fee in lieu of require parking may be provided for commercial or mixed-use developments. Within the CSC District, parking requirements are reduced and on-street parking may be used to satisfy requirements. Uses designated as landmarks have reduced parking requirements citywide.</p>
<dl>

<dt>Reform status</dt>
<dt>Status</dt>
<dd>Adopted</dd>
<dt>Reform scope</dt>

<dt>Scope</dt>
<dd><ul><li>City center / business district</li><li>Citywide</li></ul></dd>
<dt>Affected land uses</dt>
<dd><ul><li>Commercial</li><li>Other</li><li>Residential, all uses</li></ul></dd>
Expand Down Expand Up @@ -84,10 +84,10 @@ <h2>Parking minimum reduction</h2>
<h2>Parking maximum</h2>
<p class="summary">Within the CSC District, surface parking is prohibited in between any building on the CDC, Lions Park, and Merino Park parcels and the right-of-ways of Two Rivers Road, Midland Avenue, or the Midland Spur.</p>
<dl>

<dt>Reform status</dt>
<dt>Status</dt>
<dd>Adopted</dd>
<dt>Reform scope</dt>

<dt>Scope</dt>
<dd>Main street / special</dd>
<dt>Affected land uses</dt>
<dd>All uses</dd>
Expand Down

0 comments on commit 56baa83

Please sign in to comment.