{% extends theme("organization/display_base.html") %} {% set meta = { 'title': org.name, 'description': org.description|mdstrip(60)|forceescape, 'image': org.logo(external=True), 'keywords': [_('organization')], } %} {% set bundle = 'organization' %} {% block breadcrumb %} {{ super() }}
  • {{ org.name }}
  • {% endblock %} {% block main_content %}

    {{ org.name }} {% if can_edit %} {{ _('Edit') }} {% endif %}

    {% if org.deleted %} {{ _('Deleted') }} {% endif %}

    {{ org.description|markdown }}
    {% endblock %} {% block secondary_content %} {# Datasets and reuses tabs #} {% set dataset_tabs = ( ('datasets', _('Datasets'), datasets, {'organization': org.id|string}), ('private-datasets', _('Private datasets'), private_datasets, {}), ) %} {% set reuse_tabs = ( ('reuses', _('Reuses'), reuses, {'organization': org.id|string}), ('private-reuses', _('Private reuses'), private_reuses, {}), ) %} {% set user_tabs = ( ('members', _('Members'), org.members, {}), ('followers', _('Followers'), followers, {}), ) %} {% for tab_id, label, datasets, kwargs in dataset_tabs %} {% if datasets %} {% if datasets.total %}
    {% endif %}
    {% endif %} {% endfor %} {% for tab_id, label, reuses, kwargs in reuse_tabs %} {% if reuses %} {% if reuses.total and reuses.total > reuses|length %}

    {{ _('See the %(nb)s reuses', nb=reuses.total) }}

    {% endif %}
    {% endif %} {% endfor %} {% if org.members %}
    {% for member in org.members %}
    {% include theme('organization/member-card.html') %}
    {% endfor %}
    {% endif %} {% if followers %}
    {% for follow in followers %}
    15 %}:class="{hidden: !followersVisible}"{% endif %}"> {% include theme('follow/follower-card.html') %}
    {% endfor %} {% if followers|length > 15 %}

    {{ _('Display all followers') }}

    {% endif %}
    {% endif %}
    {#
    {% for tab_id, label, datasets, kwargs in dataset_tabs %} {% if datasets %}
      {% for dataset in datasets %}
    • {% include theme('dataset/card.html') %}
    • {% endfor %}
    {% if datasets.total %}
    {% endif %}
    {% endif %} {% endfor %} {% for tab_id, label, reuses, kwargs in reuse_tabs %} {% if reuses %}
      {% for reuse in reuses %}
    • {% include theme('reuse/card.html') %}
    • {% endfor %}
    {% if reuses.total and reuses.total > reuses|length %}

    {{ _('See the %(nb)s reuses', nb=reuses.total) }}

    {% endif %}
    {% endif %} {% endfor %} {% if org.members %}
    {% for member in org.members %}
    {% include theme('organization/member-card.html') %}
    {% endfor %}
    {% endif %} {% if followers %}
    {% for follow in followers %}
    15 %}:class="{hidden: !followersVisible}"{% endif %}"> {% include theme('follow/follower-card.html') %}
    {% endfor %} {% if followers|length > 15 %}

    {{ _('Display all followers') }}

    {% endif %}
    {% endif %}
    #} {# end tabs #} {% endblock %}