Skip to content
Snippets Groups Projects
Commit 4bd6fa3d authored by Briggs, Aaron Shane's avatar Briggs, Aaron Shane
Browse files

preliminary changes

parent 69e9dc53
No related branches found
No related tags found
1 merge request!18Wdfn 595 only show groundwater data when on site
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
{% if iv_period_of_record or gw_period_of_record %} {% if iv_period_of_record or gw_period_of_record %}
<div class="provisional-data-statement"> <div class="provisional-data-statement">
<p> <p>
<h1>test: {{ site_type }}</h1>
<span class="usa-tag">Important</span> <span class="usa-tag">Important</span>
Data may be provisional - Data may be provisional -
<a class="usa-link" <a class="usa-link"
......
...@@ -111,6 +111,7 @@ def monitoring_location(site_no): ...@@ -111,6 +111,7 @@ def monitoring_location(site_no):
""" """
agency_cd = request.args.get('agency_cd', '') agency_cd = request.args.get('agency_cd', '')
site_status, site_status_reason, site_data = site_service.get_site_data(site_no, agency_cd) site_status, site_status_reason, site_data = site_service.get_site_data(site_no, agency_cd)
print('site_data', site_data)
json_ld = None json_ld = None
if site_status == 200: if site_status == 200:
...@@ -177,6 +178,7 @@ def monitoring_location(site_no): ...@@ -177,6 +178,7 @@ def monitoring_location(site_no):
unique_site.get('dec_long_va', '')) unique_site.get('dec_long_va', ''))
context = { context = {
'site_type': site_tp_cd,
'status_code': site_status, 'status_code': site_status,
'stations': site_data, 'stations': site_data,
'location_with_values': location_with_values, 'location_with_values': location_with_values,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment