Skip to content

Commit

Permalink
Remove library submenus
Browse files Browse the repository at this point in the history
  • Loading branch information
blagojabozinovski committed Oct 31, 2024
1 parent 07b5e8b commit b29d55a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
16 changes: 7 additions & 9 deletions ckanext/alisea/templates/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,12 @@ <h2>{{ g.site_description }}</h2>
<li>
<a href="https://kh.ali-sea.org/insights">{{ _('Insights') }}</a>
</li>
<!-- {% block header_site_navigation %} -->
<!-- {% block header_site_navigation_tabs %} -->
<!-- {% set org_type = h.default_group_type('organization') %} -->
<!-- {% set group_type = h.default_group_type('group') %} -->

<!-- {% endblock %} -->
<li class="nav-item dropdown">
<li>
{{ h.build_nav_main(
(dataset_type ~ '.search', h.humanize_entity_type('package', dataset_type, 'main nav') or _('Library'), ["dataset", "resource"]) ) }}
</li>
<!-- Uncomment this section for dropdown manu for groups and organizations -->
<!-- <li class="nav-item dropdown">
<a class="library-item nav-link dropdown-toggle" href="/dataset" id="libraryDropdown" role="button"
data-bs-toggle="dropdown" aria-expanded="false">
{{ _('Library') }}
Expand All @@ -138,7 +137,7 @@ <h2>{{ g.site_description }}</h2>
</li>
</ul>
</li>
</li> -->
<li>
<a href="https://kh.ali-sea.org/map-explorer/">{{ _('Map Explorer') }}</a>
</li>
Expand All @@ -154,7 +153,6 @@ <h2>{{ g.site_description }}</h2>

</ul>

{% endblock %}
{% block header_site_search %}
<div class="alisea-logo">
<a href="https://atmo.joomlafact.com/">
Expand Down
1 change: 0 additions & 1 deletion ckanext/alisea/templates/snippets/social.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{% set current_url = h.full_current_url() %}
{% block social %}
{# Rmoves the facebook and twitter share #}
{% endblock %}

0 comments on commit b29d55a

Please sign in to comment.