<commit_before>{% ckan_extends %}

{% set pending_resources = h.get_pending_files_for_dataset(pkg) %}
{% block resource_list %}
  {{ super() }}
  {% if pending_resources %}

  <h3>Pending Resources</h3>
  <ul class="resource-list">
    {% for pending_resource in pending_resources %}
    <li class="resource-item" id="pending-{{ loop.index }}">
      <a href="{%  url_for controller='ckanext.glasgow.controllers.request_status:RequestStatusController', action='get_status', request_id=pending_resource.request_id %}">{{ pending_resource.value.data_dict.name }}
        <span class="format-label" data-format="pending" property="dc:format"></span>
      </a>
      <p class="description">{{ pending_resource.value.data_dict.description }}</p>
    </li>
    {% endfor %}
  </ul>
  {% endif %}
{% endblock %}<commit_msg>fix resource_list url for pending_files<commit_after>{% ckan_extends %}

{% set pending_resources = h.get_pending_files_for_dataset(pkg) %}
{% block resource_list %}
  {{ super() }}
  {% if pending_resources %}

  <h3>Pending Resources</h3>
  <ul class="resource-list">
    {% for pending_resource in pending_resources %}
    <li class="resource-item" id="pending-{{ loop.index }}">
      <a href="{%  url_for controller='ckanext.glasgow.controllers.request_status:RequestStatusController', action='get_status', request_id=pending_resource.value.request_id %}">{{ pending_resource.value.data_dict.name }}
        <span class="format-label" data-format="pending" property="dc:format"></span>
      </a>
      <p class="description">{{ pending_resource.value.data_dict.description }}</p>
    </li>
    {% endfor %}
  </ul>
  {% endif %}
{% endblock %}
{'fraction_non_alphanumeric': 0.17106842737094838, 'fraction_numerical': 0.0024009603841536613, 'mean_word_length': 4.708904109589041, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7392362', 'n_tokens_mistral': 559, 'n_tokens_neox': 522, 'n_words': 90}