Skip to content

Commit

Permalink
Merge pull request #36 from keitaroinc/template-changes
Browse files Browse the repository at this point in the history
Template changes
  • Loading branch information
blagojabozinovski authored Oct 31, 2024
2 parents 9ef94e1 + b29d55a commit ea6cb10
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 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
3 changes: 3 additions & 0 deletions ckanext/alisea/templates/package/snippets/info.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{% block package_info %}
{# Removes the follow button and info #}
{% endblock %}
3 changes: 3 additions & 0 deletions ckanext/alisea/templates/snippets/social.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{% block social %}
{# Rmoves the facebook and twitter share #}
{% endblock %}

0 comments on commit ea6cb10

Please sign in to comment.