{% extends theme('layouts/1-column.html') %} {% from theme('macros/follow.html') import follow_btn with context %} {% from theme('macros/integrate.html') import integrate_btn with context %} {% from theme('macros/breadcrumb.html') import breadcrumb with context %} {% set meta = { 'title': reuse.title, 'description': reuse.description|mdstrip(60)|forceescape, 'image': reuse.image(external=True), 'keywords': [_('reuse')] + reuse.tags, 'robots': 'noindex, nofollow' if reuse.is_hidden else '', } %} {% set bundle = 'reuse' %} {% set body_class = 'reuse-display' %} {% set community_subtitle = _('Explore with %(certifier)s', certifier=config.SITE_TITLE ) %} {% set read_only_mode = config['READ_ONLY_MODE'] %} {% set visible_datasets = reuse.datasets|visibles %} {% block extra_head %} {% endblock %} {% block breadcrumb %}
  • {{ _('Reuses') }}
  • {{ reuse.title }}
  • {% endblock %} {% block content %} {{ breadcrumb(self, breadcrum_class=breadcrum_class, toolbar_class=toolbar_class ) }}
    {% if reuse.private %} {{ _('Private') }} {% endif %} {% if reuse.deleted %}
    {{ _('This reuse has been deleted. This will be permanent in the next 24 hours') }}
    {% endif %}

    {{ reuse.title }}

    {{ _('Published on %(date)s', date=reuse.created_at|dateformat(format='long')) }}

    {{ follow_btn(reuse) }} {% if can_edit %} {{ _('Modify reuse') }} {{ _('Modify reuse') }} {% endif %} {% if sysadmin %}
    {% endif %}
    {{ _('See the reuse') }}
    {% if reuse.organization %} {% with organization=reuse.organization, producer_type='organization' %} {% include theme('organization/producer-summary.html') %} {% endwith %} {% elif reuse.owner %} {% with organization=reuse.owner, producer_type='owner' %} {% include theme('organization/producer-summary.html') %} {% endwith %} {% endif %}
    {% if reuse.tags %}
      {% for tag in reuse.tags %}
    • {{ tag|truncate(35, True) }}
    • {% endfor %}
    {% endif %}

    {{ _('Informations') }}

    {{ _('Publication') }}

    {{ _('Embed') }}

    {{integrate_btn(reuse)}}

    {{ _('Permalink') }}

    {{ _('Description') }}

    {{ reuse.description|markdown }}

    {{ _('Used datasets') }} {{ visible_datasets|length }}

    {% if reuse.organization %}

    {{ _('Discussion between the organization and the community about this reuse.') }}

    {% elif reuse.owner %}

    {{ _('Discussion between the owner and the community about this reuse.') }}

    {% endif %}

    {{ _('More reuses') }}

    {{ _('Discover more reuses.') }}

    {% endblock %}