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

Add estimated Term to state and national overview text #925

Merged
merged 1 commit into from
Jun 14, 2017

Conversation

jeremiak
Copy link
Contributor

Closes #841

@@ -1,7 +1,7 @@
import PropTypes from 'prop-types'
import React from 'react'

import { nibrsTerm, srsTerm } from './Terms'
import { estimatedTerm, nibrsTerm, srsTerm } from './Terms'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RyanSibley We first want to pull in the estimated term from our Terms file. This isn't all terms, but just a few of the ones we use all the time (estimated, NIBRS, and summary at the moment).

{until}
, the FBI
{' '}
{estimatedTerm}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Next, we want to use that estimatedTerm variable in our text. In our current system, when you want to use a variable in some HTML you have to surround it with curly braces.

@RyanSibley
Copy link
Contributor

awesome. thank you.

@brendansudol
Copy link
Contributor

nice!

@brendansudol brendansudol merged commit c22693c into master Jun 14, 2017
@brendansudol brendansudol deleted the jk-add-estimated-term branch June 14, 2017 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants