Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion docs/hazard-classification.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Hazard levels can be described as:

- **Not Affected** (Score -1): No exposure, below all thresholds, or outside hazard zone.

- **No Data Available**: No dataset covering the chosen location is currently available in ThinkHazard!
- **No Hazard Available**: No dataset covering the chosen location is currently available in ThinkHazard!
Comment thread
ronitjadhav marked this conversation as resolved.
Outdated

## Geographic Units

Expand Down
2 changes: 1 addition & 1 deletion thinkhazard/static/js/data_map.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function initDataMap(dataUrl) {
div.innerHTML += '<li><i style="background: ' + colors.GLO[1] + '"></i><span>' + i18n('Global') + '</span></li>';
div.innerHTML += '<li><i style="background: ' + colors.REG[1] + '"></i><span>' + i18n('Regional') + '</span></li>';
div.innerHTML += '<li><i style="background: ' + colors.NAT[1] + '"></i><span>' + i18n('National') + '</span></li>';
div.innerHTML += '<li><i style="background: #FFFFFF"></i><span>' + i18n('No Data') + '</span></li>';
div.innerHTML += '<li><i style="background: #FFFFFF"></i><span>' + i18n('No Hazard') + '</span></li>';

return div;
};
Expand Down
2 changes: 1 addition & 1 deletion thinkhazard/templates/data_map.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
'Global': '{{gettext('Global')}}',
'Regional': '{{gettext('Regional')}}',
'National': '{{gettext('National')}}',
'No Data': '{{gettext('No Data')}}',
'No Hazard': '{{gettext('No Hazard')}}',
'Country:': '{{gettext('Country:')}}',
'Global:': '{{gettext('Global:')}}',
'Regional:': '{{gettext('Regional:')}}',
Expand Down
4 changes: 2 additions & 2 deletions thinkhazard/views/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@
# An object for the "no data" category type.
_hazardlevel_nodata = HazardLevel()
_hazardlevel_nodata.mnemonic = "no-data"
_hazardlevel_nodata.title = "No Data"
_hazardlevel_nodata.description = "No data for this hazard type."
_hazardlevel_nodata.title = "No Hazard"
_hazardlevel_nodata.description = "No hazard for this hazard type."
_hazardlevel_nodata.order = float("inf")


Expand Down
Loading