Skip to content

Commit

Permalink
Merge pull request #6520 from OCHA-DAP/feature/HDX-10460-add-pcode-label
Browse files Browse the repository at this point in the history
HDX-10460 remove pcode icons & rename label to "P-coded"
  • Loading branch information
ccataalin authored Jan 21, 2025
2 parents 4152086 + f52df08 commit 22f7e6f
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
</div>
{% if res.p_coded == True %}
<div class="pcode-label">
{{ _('P-code') }}: Yes
{{ _('P-coded') }}: Yes
</div>
{% endif %}
<div class="description">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</div>
{% if res.p_coded == True %}
<div class="pcode-label">
{{ _('P-code') }}: Yes
{{ _('P-coded') }}: Yes
</div>
{% endif %}
<div class="description">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

{% block leading_icons %}
{% snippet 'search/snippets/package_icons_cod.html', package=package%}
{% snippet 'search/snippets/package_icons_p-code.html', resources=package.resources %}
{% endblock %}

{% block other_icons %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
{% block owner_update_icons %}
<div class="dataset-updated-icons">
{% snippet 'search/snippets/package_icons_cod.html', package=package%}
{% snippet 'search/snippets/package_icons_p-code.html', resources=package.resources %}

{% set has_showcase_items = package.showcase_count and package.showcase_count > 0 %}
{% set has_quality_checked = package.indicator == '1' or package.quality %}
Expand Down

0 comments on commit 22f7e6f

Please sign in to comment.