{% extends "source/base.html" %} {% block admin_link %} {{ h.nav_named_link(_('Admin'), '{0}_admin'.format(c.dataset_type), id=c.harvest_source.name, class_='btn btn-primary', icon='wrench')}} {% endblock %} {# CKAN 2.0 #} {% block actions_content %} {% if authorized_user %}
  • {{ self.admin_link() }}
  • {% endif %} {% endblock %} {# TODO: once #354 is merged in CKAN core .profile-info doesn't exist #} {% block secondary_content %}

    {{ c.harvest_source.title }}

    {% if c.harvest_source.notes %}

    {{ h.markdown_extract(c.harvest_source.notes, 180) }} {{ h.nav_named_link(_('read more'), '{0}_about'.format(c.dataset_type), id=c.harvest_source.name) }}

    {% else %}

    {{ _('There is no description for this harvest source') }}

    {% endif %}
    {% if c.harvest_source.status %}
    {{ _('Datasets') }}
    {{ c.harvest_source.status.total_datasets }}
    {% endif %}
    {% endblock %} {% block primary_content %}
    {% block page_header %} {% endblock %} {% block primary_content_inner %}{% endblock %}
    {% endblock %}