Skip to content
Snippets Groups Projects
Verified Commit 6140efdc authored by Thorge Petersen's avatar Thorge Petersen
Browse files

Merge branch 'dev' into ckan-2.11.0

parents f3cd484b 7a00c063
Branches
No related tags found
No related merge requests found
...@@ -325,7 +325,7 @@ class OdshPlugin(p.SingletonPlugin, DefaultTranslation, tk.DefaultDatasetForm): ...@@ -325,7 +325,7 @@ class OdshPlugin(p.SingletonPlugin, DefaultTranslation, tk.DefaultDatasetForm):
'odsh_load_mdk_sample_dataset': helpers_odsh.odsh_load_mdk_sample_dataset, 'odsh_load_mdk_sample_dataset': helpers_odsh.odsh_load_mdk_sample_dataset,
'odsh_load_raw_mdk_sample_dataset': helpers_odsh.odsh_load_raw_mdk_sample_dataset, 'odsh_load_raw_mdk_sample_dataset': helpers_odsh.odsh_load_raw_mdk_sample_dataset,
'format_resource_format': helpers_odsh.format_resource_format, 'format_resource_format': helpers_odsh.format_resource_format,
'odsh_matomo_enabled': helpers_odsh.odsh_show_testbanner, 'odsh_matomo_enabled': helpers_odsh.odsh_matomo_enabled,
'odsh_matomo_base_uri': helpers_odsh.odsh_matomo_base_uri, 'odsh_matomo_base_uri': helpers_odsh.odsh_matomo_base_uri,
'odsh_matomo_site_id': helpers_odsh.odsh_matomo_site_id, 'odsh_matomo_site_id': helpers_odsh.odsh_matomo_site_id,
} }
......
...@@ -2,14 +2,6 @@ ...@@ -2,14 +2,6 @@
{% block scripts %} {% block scripts %}
{% asset 'ckanext-odsh/odsh_base_script' %} {% asset 'ckanext-odsh/odsh_base_script' %}
{% endblock scripts %}
{% block styles %}
{{ super() }}
{% asset 'ckanext-odsh/odsh_base_style' %}
{% endblock styles %}
{% block head_extras %}
{{ super() }}
{% if h.odsh_matomo_enabled() %} {% if h.odsh_matomo_enabled() %}
<!-- Matomo --> <!-- Matomo -->
<script> <script>
...@@ -36,6 +28,14 @@ ...@@ -36,6 +28,14 @@
</noscript> </noscript>
<!-- End Matomo Code --> <!-- End Matomo Code -->
{% endif %} {% endif %}
{% endblock scripts %}
{% block styles %}
{{ super() }}
{% asset 'ckanext-odsh/odsh_base_style' %}
{% endblock styles %}
{% block head_extras %}
{{ super() }}
{% endblock %} {% endblock %}
{% block bodytag %} data-site-root="{{ h.odsh_public_url() }}" data-locale-root="{{ h.odsh_public_url() }}" {% endblock %} {% block bodytag %} data-site-root="{{ h.odsh_public_url() }}" data-locale-root="{{ h.odsh_public_url() }}" {% endblock %}
......
...@@ -111,7 +111,6 @@ ...@@ -111,7 +111,6 @@
</li> </li>
{% endblock %} {% endblock %} {% endblock %} {% endblock %}
</ul> </ul>
</a>
</li> </li>
{% else %} {% else %}
<li class='{{clazz}}'> <li class='{{clazz}}'>
......
...@@ -18,6 +18,7 @@ method="get" data-module="select-switch"> ...@@ -18,6 +18,7 @@ method="get" data-module="select-switch">
<div class='btn show-filters'><i class="fa fa-filter"></i> {{ _("Filter") }}</div> <div class='btn show-filters'><i class="fa fa-filter"></i> {{ _("Filter") }}</div>
{% snippet "snippets/search_box.html", query=q %} {% snippet "snippets/search_box.html", query=q %}
</div> </div>
</form>
{% endblock %} {% endblock %}
{% block primary_content %} {% block primary_content %}
...@@ -25,7 +26,7 @@ method="get" data-module="select-switch"> ...@@ -25,7 +26,7 @@ method="get" data-module="select-switch">
<div class="module-content"> <div class="module-content">
{% block page_primary_action %} {% block page_primary_action %}
{% endblock %} {% endblock %}
<div class="search-form"> <div>
{% block form %} {% block form %}
{{ super() }} {{ super() }}
{% endblock %} {% endblock %}
...@@ -116,7 +117,6 @@ method="get" data-module="select-switch"> ...@@ -116,7 +117,6 @@ method="get" data-module="select-switch">
{% endblock %} {% endblock %}
{% block pre_wrap %} {% block pre_wrap %}
</form>
{% endblock %} {% endblock %}
{% block scripts %} {% block scripts %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment