diff --git a/asset_dashboard/static/css/app.css b/asset_dashboard/static/css/app.css index e740a373..a89ec5e6 100644 --- a/asset_dashboard/static/css/app.css +++ b/asset_dashboard/static/css/app.css @@ -21,7 +21,7 @@ input[type="checkbox"] { } .map-container { - height: 80vh; + height: 85vh; } .map-thumbnail { diff --git a/asset_dashboard/static/js/components/maps/ListAssetsMap.js b/asset_dashboard/static/js/components/maps/ListAssetsMap.js index 918945a6..2d9263e0 100644 --- a/asset_dashboard/static/js/components/maps/ListAssetsMap.js +++ b/asset_dashboard/static/js/components/maps/ListAssetsMap.js @@ -19,12 +19,12 @@ function ListAssetsMap(props) { <> { props?.assets && -
Year | +Funds | ++ |
---|---|---|
{{ funding_year.year }} | +{{ funding_year.funds }} | +
+ {% if phase %} + This phase has no funding. Add funding > + {% else %} + Create the phase so you can add funding. + {% endif %} +
+ {% endif %} + ++ {% if phase and not props %} + This phase has no GIS assets. Add Assets > + {% elif not phase and not props %} + Create the phase so you can add GIS assets. + {% else %} + Edit Assets > + {% endif %} +
+{{ phase.status }} | {{ phase.phasefinances__budget }} | {{ phase.estimated_bid_quarter }} | -Edit | +Edit | {% endfor %}