Skip to content

Commit

Permalink
HDX-10238 remove HDX banner
Browse files Browse the repository at this point in the history
  • Loading branch information
ccataalin committed Oct 16, 2024
1 parent 5acb38a commit 3eec546
Show file tree
Hide file tree
Showing 18 changed files with 0 additions and 218 deletions.

This file was deleted.

This file was deleted.

18 changes: 0 additions & 18 deletions ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/webassets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ page-styles:
- base/base.css
- base/header.css
- search-styles
- banner-styles

page-light-scripts:
<<: *common-js
Expand All @@ -141,7 +140,6 @@ page-light-styles:
- page-common-styles
- light/page-light.css
- search-styles
- banner-styles
- adaptive-page-styles

adaptive-page-styles:
Expand Down Expand Up @@ -592,7 +590,6 @@ dataset-styles:
- datasets/datasets.css
- datasets/hdx_custom_dataviz_show.css
- datasets/related.css
- banner-styles

dataset-quick-edit-styles:
<<: *common-css
Expand Down Expand Up @@ -1309,21 +1306,6 @@ base-widget-styles:
contents:
- base/base-widget.css

banner-scripts:
<<: *common-js
output: ckanext-hdx_theme/%(version)s_banner-scripts.js
extra:
preload:
- hdx_theme/ckan
contents:
- base/components/banner.js

banner-styles:
<<: *common-css
output: ckanext-hdx_theme/%(version)s_banner-styles.css
contents:
- base/components/banner.css

contact-contributor-scripts:
<<: *common-js
output: ckanext-hdx_theme/%(version)s_contact-contributor-scripts.js
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,4 @@ <h1 class="country-title">{{ data.country_dict.display_name }}</h1>
{% block scripts2 %}
{{ super() }}
{% asset 'hdx_theme/country-scripts' %}
{% if not data.country_dict.alert_bar_url %}
{% snippet "widget/banner/hdx-dataset-banner.html" %}
{% endif %}
{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ <h1>{{ page.title }}</h1>
</div>
</div>

{% snippet "widget/banner/hdx-light-banner.html" %}
{% endblock %}

{%- block scripts %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ <h1 class="mTop20">{{ dataset_dict.title }}</h1>
</div>
</div>

{% snippet "widget/banner/hdx-light-banner.html", pkg=pkg %}
{% if supports_notifications %}
{% snippet "notification_platform/button_and_modals.html", pkg=pkg, unsubscribe_token=unsubscribe_token %}
{% endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,6 @@ <h1 class="mTop20">{{ grp.title }}</h1>
</div>
</div>

{% if not data.country_dict.alert_bar_url %}
{% snippet "widget/banner/hdx-light-banner.html" %}
{% endif %}
{% endblock %}

{% block page_warning_bar %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ <h2>All Organisations</h2>
</div>
</div>

{% snippet "widget/banner/hdx-light-banner.html", pkg=pkg %}
{% endblock %}

{% block scripts %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ <h1 class="mTop20">{{ org.title }}</h1>
</div>
</div>

{% snippet "widget/banner/hdx-light-banner.html" %}
{% endblock %}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
{% snippet "light/snippets/package_list.html", data=data %}
</div>
</div>
{% snippet "widget/banner/hdx-light-banner.html", pkg=pkg %}
{% endblock %}

{%- block scripts %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,3 @@


{% endblock %}

{% block meta %}
{{ super() }}
{% snippet "widget/banner/hdx-dataset-banner.html" %}
{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
{{ super() }}

{% asset 'hdx_theme/organization-styles' %}
{% snippet "widget/banner/hdx-dataset-banner.html" %}
{% endblock %}

{% block subtitle %}{{ org_dict.display_name }}{% endblock %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@ <h2 class="uppercase">{{_('Related Showcases')}}</h2>
{% endblock %}
</div>
{% snippet "package/hdx_resources_list.html", pkg=pkg %}
{% snippet "widget/banner/hdx-dataset-banner.html", pkg=pkg %}
{% if supports_notifications %}
{% snippet "notification_platform/button_and_modals.html", pkg=pkg, unsubscribe_token=unsubscribe_token %}
{% endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
{% endblock %}
{% block package_search_results_api %}
{% endblock %}
{% snippet "widget/banner/hdx-dataset-banner.html", pkg=pkg %}
{% endblock %}

{% block secondary %}
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 3eec546

Please sign in to comment.