Skip to content

Commit

Permalink
Merge pull request #6523 from OCHA-DAP/dev
Browse files Browse the repository at this point in the history
display pcode label if pcode filters are enabled
  • Loading branch information
ccataalin authored Jan 23, 2025
2 parents 4a6f692 + 19ba5f8 commit e036681
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
{{ _('Modified') }}:
{{ h.hdx_render_resource_updated_date(res, pkg) }}
</div>
{% if res.p_coded == True %}
{% if h.are_new_p_code_filters_enabled() and res.p_coded == True %}
<div class="pcode-label">
{{ _('P-coded') }}: Yes
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
{{ _('Modified') }}:
{{ h.hdx_render_resource_updated_date(res, pkg) }}
</div>
{% if res.p_coded == True %}
{% if h.are_new_p_code_filters_enabled() and res.p_coded == True %}
<div class="pcode-label">
{{ _('P-coded') }}: Yes
</div>
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.87.1'
hdx_version = 'v1.87.2'
3 changes: 2 additions & 1 deletion docker/prod.ini.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ hdx.datagrid.prod = ${HDX_DATAGRID_PROD}
hdx.qadashboard.enabled = ${HDX_QA_DASHBOARD}

# P-CODE
hdx.p_code.new_filters.enabled = ${HDX_P_CODE_NEW_FILTERS_ENABLED}
# hdx.p_code.new_filters.enabled = ${HDX_P_CODE_NEW_FILTERS_ENABLED}
hdx.p_code.new_filters.enabled = false

# FAQ - Wordpress
hdx.wordpress.url = ${HDX_WORDPRESS_URL}
Expand Down

0 comments on commit e036681

Please sign in to comment.