{% ckan_extends %}

{% block secondary_content %}
  {% snippet 'package/snippets/info.html', res=res %}

  <section class="module module-narrow">
    <div class="module context-info">
      <div class="module-content">
          {# The first option will always be the selected one for now until the new UI is also implemented for the other linked views #}
          <a class="dataset-sidebar dataset-sidebar-selected" href="{{ h.url_for(pkg.type + '_read', controller='dataset', action='read', id=pkg.name) }}">{{ _("Subsystem's information") }}</a>

          {% if h.is_extension_loaded('apply_permissions_for_service') %}
            <a class="dataset-sidebar" href="{{ h.url_for('apply_permissions.permission_application_settings', subsystem_id=pkg.name) }}">{{ _('Access request settings') }}</a>
            <a class="dataset-sidebar" href="{{ h.url_for('apply_permissions.manage_permission_applications', subsystem_id=pkg.name) }}">{{ _('Received access requests') }}</a>
          {% endif %}
      </div>
    </div>
  </section>
{% endblock %}

{% ckan_extends %}

{% block secondary_content %}
  {% snippet 'package/snippets/info.html', res=res %}

  <section class="module module-narrow">
    <div class="module context-info">
      <div class="module-content">
          {# The first option will always be the selected one for now until the new UI is also implemented for the other linked views #}
          <a class="dataset-sidebar dataset-sidebar-selected" href="{{ h.url_for(pkg.type + '_read', controller='dataset', action='read', id=pkg.name) }}">{{ _("Subsystem's information") }}</a>
          <a class="dataset-sidebar" href="{{ h.url_for(pkg.type ~ '.resources', _('Resources'), id=pkg.name) }}">{{ _('Attachments') }}</a>
          {% if h.is_extension_loaded('apply_permissions_for_service') %}
            <a class="dataset-sidebar" href="{{ h.url_for('apply_permissions.permission_application_settings', subsystem_id=pkg.name) }}">{{ _('Access request settings') }}</a>
            <a class="dataset-sidebar" href="{{ h.url_for('apply_permissions.manage_permission_applications', subsystem_id=pkg.name) }}">{{ _('Received access requests') }}</a>
          {% endif %}
      </div>
    </div>
  </section>
{% endblock %}

Add resources url to have it somewhere until rest of the UIs are implemented
LIKA-491: Add resources url to have it somewhere until rest of the UIs are implemented
