Skip to content

Commit

Permalink
Merge pull request #6503 from OCHA-DAP/dev
Browse files Browse the repository at this point in the history
dev into prod for data grid
  • Loading branch information
danmihaila authored Dec 17, 2024
2 parents 1490895 + 712eab7 commit e1cc16b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,26 @@
<div class="hdx-arrow-wrapper"></div>
<div class="row">
<div class="col-12 col-md-6">
<div class="legend-title">What is Data Grid Completeness?</div>
<div class="legend-title">What do the Data Grids measure?</div>
<div class="legend-description">
Data Grid Completeness defines
<span class="orange">
a set of core data that are essential for preparedness and emergency response.
</span>
For select countries, the HDX Team and trusted partners evaluate datasets available on HDX and add those meeting the definition of a core data category to the Data Grid Completeness board above. Please help us improve this feature by sending your feedback to
<a href="mailto: [email protected]">[email protected]</a>.
The Data Grid is core data that is essential for preparedness and emergency response. For each sub-category, we assess whether a relevant dataset is 'available'. To be considered available, relevant data should be sub-national, in a commonly used format and up-to-date. Data that is relevant but not up-to-date will be included but marked as 'not up-to-date'. Data that is missing will be marked as 'unavailable'.
</div>
</div>
<div class="col-12 col-md-6">
<div class="legend-title">Legend:</div>
<div class="legend-item">
Presence, freshness, and quality of dataset
<ul>
<li>
<span class="progress-breakdown mini"><span class="progress-blue" style="width: 100%;"></span></span>
Dataset fully matches criteria and is up-to-date
A dataset is available and up-to date
</li>
<li>
<span class="progress-breakdown mini"><span class="progress-striped" style="width: 100%;"></span></span>
Dataset partially matches criteria and/or is not up-to-date
A dataset is available and not up-to-date
</li>
<li>
<span class="progress-breakdown mini"></span>
No dataset found matching the criteria
No dataset is available
</li>
</ul>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ <h1 class="country-title">{{ data.country_dict.display_name }}</h1>
<div class="col-12">
<div class="list-header crisis-list-header">
<span class="mL15 mR30 list-header-title">
{{ _("Data Grid Completeness") }}
{{ _("Data Grid Availability") }}
</span>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@

{% set data_completeness = data.get('data_completeness', '') %}
<div class="">
<label class="control-label" for="field-data-completeness">{{ _("Data Grid Completeness")}}</label>
<label class="control-label" for="field-data-completeness">{{ _("Data Grid Availability")}}</label>
<div class="controls">
<select id="field-data-completeness" name="data_completeness" class="form-select">
<option value="inactive" {% if data_completeness == 'inactive' %}selected="selected"{% endif %}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ <h1 class="mTop20">{{ grp.title }}</h1>
<div class="col-12">
<div class="list-header crisis-list-header">
<span class="mL15 mR30 list-header-title">
{{ _("Data Grid Completeness") }}
{{ _("Data Grid Availability") }}
</span>
<div class="float-end">
<div class="d-inline-block show-filter-switch show-filter-switch--sm">
Expand Down
2 changes: 1 addition & 1 deletion ckanext-hdx_theme/ckanext/hdx_theme/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
hdx_version = 'v1.86.0'
hdx_version = 'v1.86.1'

0 comments on commit e1cc16b

Please sign in to comment.