{% extends "organization/read_base.html" %}

{% block styles %}
  {{ super() }}
  <link rel="stylesheet" href="/datarequests.css" />
{% endblock %}

{% block primary_content %}
  <section class="module">
    <div class="module-content">
      {% block page_primary_action %}
        {% if h.check_access('datarequest_create') %}
          <div class="page_primary_action">
            {% link_for _('Add Data Request'), controller='ckanext.datarequests.controllers.ui_controller:DataRequestsUI', action='new', class_='btn btn-primary', icon='plus-sign-alt' %}
          </div>
        {% endif %}
        {{ h.snippet('datarequests/snippets/datarequest_list.html', datarequest_count=c.datarequest_count, datarequests=c.datarequests, page=c.page)}}
      {% endblock %}
    </div>
  </section>
{% endblock %}

{% block secondary_content %}
  {{ super() }}
  {% for facet in c.facet_titles %}
    {{ h.snippet('snippets/facet_list.html', title=c.facet_titles[facet], name=facet, extras={'id': c.group_dict.name}) }}
  {% endfor %}
{% endblock %}
{% extends "organization/read_base.html" %}

{% block styles %}
  {{ super() }}
  <link rel="stylesheet" href="/datarequests.css" />
{% endblock %}

{% block primary_content %}
  {{ super() }}
  <section class="module">
    <div class="module-content">
      {% block page_primary_action %}
        {% if h.check_access('datarequest_create') %}
          <div class="page_primary_action">
            {% link_for _('Add Data Request'), controller='ckanext.datarequests.controllers.ui_controller:DataRequestsUI', action='new', class_='btn btn-primary', icon='plus-sign-alt' %}
          </div>
        {% endif %}
        {{ h.snippet('datarequests/snippets/datarequest_list.html', datarequest_count=c.datarequest_count, datarequests=c.datarequests, page=c.page)}}
      {% endblock %}
    </div>
  </section>
{% endblock %}

{% block secondary_content %}
  {{ super() }}
  {% for facet in c.facet_titles %}
    {{ h.snippet('snippets/facet_list.html', title=c.facet_titles[facet], name=facet, extras={'id': c.group_dict.name}) }}
  {% endfor %}
{% endblock %}
Fix bug: Content Nav was not shown in the Data Request view of a Organization
Fix bug: Content Nav was not shown in the Data Request view of a Organization
