Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1535 Add "Definitions of ZAP Updates" page to ZAP Search #1537

Merged
merged 7 commits into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions client/app/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
this.route('show-project', { path: '/projects/:id' });
this.route('show-geography', { path: '/projects' });
this.route('disclaimer');
config.showAlerts && this.route('statuses');

Check failure on line 31 in client/app/router.js

View workflow job for this annotation

GitHub Actions / Tests

Expected an assignment or function call and instead saw an expression
dhochbaum-dcp marked this conversation as resolved.
Show resolved Hide resolved
this.route('not-found', { path: '/*path' });
this.route('oops');
this.route('my-projects', function() {
Expand Down
4 changes: 4 additions & 0 deletions client/app/routes/statuses.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import Route from '@ember/routing/route';

export default Route.extend({
});
1 change: 1 addition & 0 deletions client/app/styles/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ $completed-color: #a6cee3;
@import 'modules/_m-reveal-modal';
@import 'modules/_m-search';
@import 'modules/_m-site-header';
@import 'modules/_m-statuses';
@import 'modules/_m-tabs';
@import 'modules/_m-project-summary-cards';
@import 'modules/_m-tooltipster';
Expand Down
38 changes: 38 additions & 0 deletions client/app/styles/modules/_m-statuses.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
// --------------------------------------------------
// Module: Statuses
// --------------------------------------------------

.status-options {
counter-reset: statusoption;
list-style: none;
padding-left: 40px;
}

.status-options .numbered-option {
counter-increment: statusoption;
margin: 0 0 0.5rem 0;
position: relative;
}

.status-options li::before {
content: counter(statusoption);
font-weight: bold;
position: absolute;
--size: 2rem;
left: calc(-1 * var(--size) - 10px);
line-height: var(--size);
width: var(--size);
height: var(--size);
top: 0;
background: #FBF0E9;
border-radius: 50%;
text-align: center;
}

.numbered-option h4 {
margin-bottom: 0.25rem;
}

.status-updates {
font-size: 1.5rem;
}
38 changes: 38 additions & 0 deletions client/app/templates/statuses.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<div class="cell">
<div class="grid-container">
<div class="grid-x grid-padding-x grid-padding-y align-middle" style="justify-content: center;">
<div class="cell large-8">
<h1 class="header-xxl dcp-orange">Definition of ZAP Updates</h1>
<p>Below outlines 4 major status for a Zoning Application milestone:</p>
<ol class="status-options">
<li class="numbered-option">
<h4>Filed</h4>
<p>A Land Use Application has been submitted to DCP. The minimum fees have been paid.</p>
</li>
<li class="numbered-option">
<h4>Noticed</h4>
<p>An application is notified that it will be certified within 30 days per City Charter requirements.</p>
</li>
<li class="numbered-option">
<h4>In Public Review</h4>
<p>Applications are now in public review.</p>
</li>
<li class="numbered-option">
<h4>Completed</h4>
<p>An application has reached one of the following:</p>
<ul>
<li>Approved</li>
<li>Disapproved</li>
<li>Withdrawn</li>
<li>Terminated</li>
</ul>
</li>
</ol>
<p>When you sign up for ZAP updates, you will only be notified when a project's public status is changed to "<b>Filed</b>" or "<b>In public review</b>"</p>
<p class="status-updates">To sign up for ZAP updates, please visit <LinkTo @route="subscribe">here</LinkTo>.</p>
</div>
</div>
</div>
</div>

{{outlet}}
11 changes: 11 additions & 0 deletions client/tests/unit/routes/statuses-test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';

module('Unit | Route | statuses', function(hooks) {
setupTest(hooks);

test('it exists', function(assert) {
const route = this.owner.lookup('route:statuses');
assert.ok(route);
});
});
Loading