diff --git a/src/ckanext-d4science_theme/ckanext/d4science_theme/templates/base.html b/src/ckanext-d4science_theme/ckanext/d4science_theme/templates/base.html index 261da6e..192d8e3 100644 --- a/src/ckanext-d4science_theme/ckanext/d4science_theme/templates/base.html +++ b/src/ckanext-d4science_theme/ckanext/d4science_theme/templates/base.html @@ -73,7 +73,7 @@ {% set theme = h.get_rtl_theme() if h.is_rtl_language() else g.theme %} {% asset theme %} {% asset 'd4science_theme/d4science-js' %} - {#{% asset 'd4science_theme/d4science-css' %}#} + {% asset 'd4science_theme/d4science-css' %} {% endblock %} {% block head_extras %} diff --git a/src/ckanext-d4science_theme/ckanext/d4science_theme/templates/header.html b/src/ckanext-d4science_theme/ckanext/d4science_theme/templates/header.html index b3b1f17..eab2362 100644 --- a/src/ckanext-d4science_theme/ckanext/d4science_theme/templates/header.html +++ b/src/ckanext-d4science_theme/ckanext/d4science_theme/templates/header.html @@ -1,7 +1,17 @@ {% set dataset_type = h.default_package_type() %} - +{# FOLLOWING BLOCK IS ADDED BY FRANCESCO MANGIACRAPA #} +{% block header_hide_container_content %} +{% set hide = h.get_cookie_value('ckan_hide_header') %} +{% if hide=='true' %} + {# HIDE HEADER #} +{% else %} {% block header_wrapper %} {% block header_account %} -