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

{% block news_tab_class %}
  active
{% endblock %}

{% block before_headline %}
  <a class="btn-u btn-u-blue btn-block visible-xs"
     href="{% url 'bulletin:plugins:plugin-list' %}?next={{ request.path }}"
     type="button">
    Submit an Item
  </a>
  <a class="btn-u btn-u-blue btn-block btn-u-lg visible-s hidden-xs"
     href="{% url 'bulletin:plugins:plugin-list' %}?next={{ request.path }}"
     type="button">
    Submit an Item
  </a>
{% endblock %}

{% block after_headline %}
  <div class="row">
    <div class="col-sm-12">
      <div class="navbar-collapse navbar-responsive-collapse collapse" style="height: 0px;">
        <ul class="nav navbar-nav">
          <li class="dropdown">
            <a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown">
              {{ current_filter_name }}
              <i class="fa fa-angle-down"></i>
            </a>
            <ul class="dropdown-menu">
              <li><a href="{% url "bulletin:plugins:story-list" %}">All</a></li>
              {% for category in categories %}
                {% comment %}
                 Only want to show subcategories, here, so we only show a
                 category if it's got a parent (i.e., a supercategory).
                {% endcomment %}
                {% if category.parent %}
                <li>
                  <a href="{% url "bulletin:plugins:story-list" %}?category={{ category.id }}">
                    {{ category.name }}
                  </a>
                </li>
                {% endif %}
              {% endfor %}
            </ul>
          </li>
        </ul>
      </div>
    </div>
  </div>
{% endblock %}

{% block content %}
  <div class="row blog-page">
    <!-- Left Sidebar -->
    <div class="col-md-9 md-margin-bottom-40">
      {% for story in object_list %}
        <!--Story-->
        <div class="row blog blog-medium margin-bottom-40">
          <div class="col-sm-3 text-right">
            {% if story.image %}
              <a href="{{ story.url }}">
                <img class="img-responsive" src="{{ story.image.url }}" />
              </a>
            {% endif %}
          </div>
          <div class="col-sm-9">
            <a href="{{ story.url }}">
              <h2>{{ story.title }}</h2>
            </a>
            <div class="margin-bottom-10">
              {{ story.blurb }}
            </div>
            <ul class="list-unstyled list-inline blog-info">
              <li><span class="glyphicon glyphicon-calendar"></span>
                {{ story.pub_date|date:"M j, Y" }}
              </li>
              {% if story.category %}
                <li><span class="glyphicon glyphicon-tag"></span>
                  <a href="{% url "bulletin:plugins:story-list" %}?category={{ story.category.id }}">
                    {{ story.category.name|title }}
                  </a>
                  {% if story.category.url %}
                    <li><span class="glyphicon glyphicon-star-empty"></span>
                      <a href="{{ story.category.url }}">
                        {{ story.category.name|title }}
                      </a>
                    </li>
                  {% endif %}
                </li>
              {% endif %}
              {% if user.is_staff %}
                <li>
                  <a href="{% url "bulletin:plugins:update" story.content_type.model story.id %}?next={{ request.get_full_path }}">
                    <span class="glyphicon glyphicon-pencil"></span>
                  </a>
                </li>
              {% endif %}
            </ul>
          </div>
        </div>
        <!--End Story-->
      {% endfor %}

      <!--Pagination-->
      <div class="text-center">
        {% bootstrap_paginate page_obj range=10 %}
      </div>
    <!--End Pagination-->
    </div>
    <!-- End Left Sidebar -->

    {% include "bulletin/sidebar.html" %}
  </div><!--/row-->
{% endblock %}
<commit_msg>Use filled star, not empty star.<commit_after>{% extends "base.html" %}
{% load bootstrap_pagination %}

{% block news_tab_class %}
  active
{% endblock %}

{% block before_headline %}
  <a class="btn-u btn-u-blue btn-block visible-xs"
     href="{% url 'bulletin:plugins:plugin-list' %}?next={{ request.path }}"
     type="button">
    Submit an Item
  </a>
  <a class="btn-u btn-u-blue btn-block btn-u-lg visible-s hidden-xs"
     href="{% url 'bulletin:plugins:plugin-list' %}?next={{ request.path }}"
     type="button">
    Submit an Item
  </a>
{% endblock %}

{% block after_headline %}
  <div class="row">
    <div class="col-sm-12">
      <div class="navbar-collapse navbar-responsive-collapse collapse" style="height: 0px;">
        <ul class="nav navbar-nav">
          <li class="dropdown">
            <a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown">
              {{ current_filter_name }}
              <i class="fa fa-angle-down"></i>
            </a>
            <ul class="dropdown-menu">
              <li><a href="{% url "bulletin:plugins:story-list" %}">All</a></li>
              {% for category in categories %}
                {% comment %}
                 Only want to show subcategories, here, so we only show a
                 category if it's got a parent (i.e., a supercategory).
                {% endcomment %}
                {% if category.parent %}
                <li>
                  <a href="{% url "bulletin:plugins:story-list" %}?category={{ category.id }}">
                    {{ category.name }}
                  </a>
                </li>
                {% endif %}
              {% endfor %}
            </ul>
          </li>
        </ul>
      </div>
    </div>
  </div>
{% endblock %}

{% block content %}
  <div class="row blog-page">
    <!-- Left Sidebar -->
    <div class="col-md-9 md-margin-bottom-40">
      {% for story in object_list %}
        <!--Story-->
        <div class="row blog blog-medium margin-bottom-40">
          <div class="col-sm-3 text-right">
            {% if story.image %}
              <a href="{{ story.url }}">
                <img class="img-responsive" src="{{ story.image.url }}" />
              </a>
            {% endif %}
          </div>
          <div class="col-sm-9">
            <a href="{{ story.url }}">
              <h2>{{ story.title }}</h2>
            </a>
            <div class="margin-bottom-10">
              {{ story.blurb }}
            </div>
            <ul class="list-unstyled list-inline blog-info">
              <li><span class="glyphicon glyphicon-calendar"></span>
                {{ story.pub_date|date:"M j, Y" }}
              </li>
              {% if story.category %}
                <li><span class="glyphicon glyphicon-tag"></span>
                  <a href="{% url "bulletin:plugins:story-list" %}?category={{ story.category.id }}">
                    {{ story.category.name|title }}
                  </a>
                  {% if story.category.url %}
                    <li><span class="glyphicon glyphicon-star"></span>
                      <a href="{{ story.category.url }}">
                        AASHE {{ story.category.name|title }} Resources
                      </a>
                    </li>
                  {% endif %}
                </li>
              {% endif %}
              {% if user.is_staff %}
                <li>
                  <a href="{% url "bulletin:plugins:update" story.content_type.model story.id %}?next={{ request.get_full_path }}">
                    <span class="glyphicon glyphicon-pencil"></span>
                  </a>
                </li>
              {% endif %}
            </ul>
          </div>
        </div>
        <!--End Story-->
      {% endfor %}

      <!--Pagination-->
      <div class="text-center">
        {% bootstrap_paginate page_obj range=10 %}
      </div>
    <!--End Pagination-->
    </div>
    <!-- End Left Sidebar -->

    {% include "bulletin/sidebar.html" %}
  </div><!--/row-->
{% endblock %}

{'fraction_non_alphanumeric': 0.17369140867835384, 'fraction_numerical': 0.00422727837871441, 'mean_word_length': 1.4750769230769232, 'pattern_counts': {'":': 0, '<': 163, '<?xml version=': 0, '>': 163, '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': '2272082', 'n_tokens_mistral': 2505, 'n_tokens_neox': 2260, 'n_words': 507}