<commit_before>{% extends "base.html" %}

{% set template_name = 'articles-list' %}
{% block body_class %}{{template_name}}{% endblock %}

{% set breadcrumb_items = [{'name': 'Activities', 'url': '/'}] %}

{% block title %}Browse{% endblock %}

{% block content %}

<!-- task: {{ activity.task_description }} -->
<!-- beneficiary: {{ activity.task_beneficiary }} -->
<!-- template name: {{ template_name }} -->
{% set icon_class_lookup = {'folder': 'fa fa-folder-o', 'file': 'fa fa-file-text-o', 'category': 'fa fa-folder', 'article': 'fa fa-file-text'} %}
<div class="articles-list__header row row--main">
    <ul class="nav-page-type toolbar toolbar--left row__left">
      <li class="nav-page-type__link toolbar__item">Homepage</li>
      <li class="nav-page-type__link toolbar__item is-selected">Articles</li>
      <li class="nav-page-type__link toolbar__item">Project Pages</li>
      <li class="nav-page-type__link toolbar__item">Department Pages</li>
      <li class="nav-page-type__link toolbar__item">Press Releases</li>
      <li class="nav-page-type__link toolbar__item">Job Postings</li>
      <li class="nav-page-type__link toolbar__item">Events</li>
    </ul>
</div>
<div class="articles-list__main grid col__flex">
    {% for column in dir_columns %}
    {% if (loop.index != 1 and loop.index != dir_columns|length) or (loop.index == 1 and dir_columns|length == 1) %}
    <div class="dir grid__item {% if loop.index < 4 %}width-one-fourth{% endif %}">
      {% if loop.index == 2 %}
      <h2>Topics</h2>
      <p class="dir__description">Topics are displayed on the homepage.</p>
      <div class="selection-box box-add-file-folder">
        <form action="{{ category.edit_path }}" method="POST" class="form-one-line">
            <input class="form-one-line__input" name="request_path" placeholder="Add topic" type="text" />
            <input name="create_what" value="category" type="hidden" />
            <input name="create_path" value="{{column['base_path']}}" type="hidden" />
            <input class="form-one-line__submit button" name="action" type="submit" value="Create" />
        </form>
      </div><commit_msg>removing dummy page-type tabs from dir-modify page<commit_after>{% extends "base.html" %}

{% set template_name = 'articles-list' %}
{% block body_class %}{{template_name}}{% endblock %}

{% set breadcrumb_items = [{'name': 'Activities', 'url': '/'}] %}

{% block title %}Browse{% endblock %}

{% block content %}

<!-- task: {{ activity.task_description }} -->
<!-- beneficiary: {{ activity.task_beneficiary }} -->
<!-- template name: {{ template_name }} -->
{% set icon_class_lookup = {'folder': 'fa fa-folder-o', 'file': 'fa fa-file-text-o', 'category': 'fa fa-folder', 'article': 'fa fa-file-text'} %}
<div class="articles-list__header row row--main">
    <ul class="nav-page-type toolbar toolbar--left row__left">
<!--       <li class="nav-page-type__link toolbar__item">Homepage</li> -->
      <li class="nav-page-type__link toolbar__item is-selected">Articles</li>
<!--       <li class="nav-page-type__link toolbar__item">Project Pages</li>
      <li class="nav-page-type__link toolbar__item">Department Pages</li>
      <li class="nav-page-type__link toolbar__item">Press Releases</li>
      <li class="nav-page-type__link toolbar__item">Job Postings</li>
      <li class="nav-page-type__link toolbar__item">Events</li> -->
    </ul>
</div>
<div class="articles-list__main grid col__flex">
    {% for column in dir_columns %}
    {% if (loop.index != 1 and loop.index != dir_columns|length) or (loop.index == 1 and dir_columns|length == 1) %}
    <div class="dir grid__item {% if loop.index < 4 %}width-one-fourth{% endif %}">
      {% if loop.index == 2 %}
      <h2>Topics</h2>
      <p class="dir__description">Topics are displayed on the homepage.</p>
      <div class="selection-box box-add-file-folder">
        <form action="{{ category.edit_path }}" method="POST" class="form-one-line">
            <input class="form-one-line__input" name="request_path" placeholder="Add topic" type="text" />
            <input name="create_what" value="category" type="hidden" />
            <input name="create_path" value="{{column['base_path']}}" type="hidden" />
            <input class="form-one-line__submit button" name="action" type="submit" value="Create" />
        </form>
      </div>
{'fraction_non_alphanumeric': 0.18834906746488603, 'fraction_numerical': 0.0032235781717706653, 'mean_word_length': 3.821309655937847, 'pattern_counts': {'":': 0, '<': 77, '<?xml version=': 0, '>': 75, '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': '233141', 'n_tokens_mistral': 1461, 'n_tokens_neox': 1353, 'n_words': 301}