Skip to content

Commit

Permalink
Merge pull request #169 from avdata99/fix_header
Browse files Browse the repository at this point in the history
Fix navigation menu headers
  • Loading branch information
pdelboca authored Apr 17, 2024
2 parents 9e57022 + b0be224 commit 322eee1
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions ckanext/showcase/templates/header.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
{% ckan_extends %}

{% set search_route = 'dataset.search' %}
{% set org_route = 'organization.index' %}
{% set group_route = 'group.index' %}
{% set showcase_route = 'showcase_blueprint.index' %}
{% set about_route = 'home.about' %}


{% block header_site_navigation_tabs %}
{{ h.build_nav_main(
(search_route, _('Datasets')),
(org_route, _('Organizations')),
(group_route, _('Groups')),
(showcase_route, _('Showcases')),
(about_route, _('About'))
) }}
{{ super() }}
{{ h.build_nav_main((showcase_route, _('Showcases'))) }}
{% endblock %}

0 comments on commit 322eee1

Please sign in to comment.