35 lines
1.3 KiB
HTML
35 lines
1.3 KiB
HTML
{% extends "page.html" %}
|
|
|
|
{% block subtitle %}{{ c.group_dict.display_name }} - {{ _('Organizations') }}{% endblock %}
|
|
|
|
{% block breadcrumb_content %}
|
|
<li>{% link_for _('Organizations'), controller='organization', action='index' %}</li>
|
|
<li class="active">{% link_for c.group_dict.display_name|truncate(35), controller='organization', action='read', id=c.group_dict.name %}</li>
|
|
{% endblock %}
|
|
|
|
{% block content_action %}
|
|
{% if h.check_access('organization_update', {'id': c.group_dict.id}) %}
|
|
{# CODE ADDED BY Francesco Mangiacrapa #}
|
|
{% set hide = h.get_cookie_value('ckan_hide_header') %}
|
|
{% if hide=='true' %}
|
|
{# NOT SHOW 'Manage' #}
|
|
{% else %}
|
|
{% link_for _('Manage'), controller='organization', action='edit', id=c.group_dict.name, class_='btn', icon='wrench' %}
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block secondary_content %}
|
|
{% snippet 'snippets/organization.html', organization=c.group_dict, show_nums=true %}
|
|
{# ADDED BY FRANCESCO MANGIACRAPA SEE #12651 #}
|
|
{% set alternative_url = h.url(controller='organization', action='read', id=c.group_dict.name) %}
|
|
{% snippet 'spatial/snippets/spatial_query.html', alternative_url=alternative_url %}
|
|
{# END #}
|
|
{% block organization_facets %}{% endblock %}
|
|
{% endblock %}
|
|
|
|
{% block links %}
|
|
{{ super() }}
|
|
{% include "organization/snippets/feeds.html" %}
|
|
{% endblock %}
|