<commit_before>{% extends "style/two_column.html" %}
{% load hq_shared_tags %}
{% load i18n %}

{% block title %}{% if current_page and section %}{% if current_page.title %}{{ current_page.title }} : {% endif %}{{ section.page_name }} {% else %}{{ report.title }}{% endif %}: Admin Reports{% endblock %}

{% block js %}{{ block.super }}
    <script src="{% static 'reports/javascripts/config.dataTables.bootstrap.js' %}"></script>
    <script src="{% static 'reports/javascripts/datepicker.js' %}"></script>
{% endblock %}

{% block js-inline %} {{ block.super }}
    <script>
        {% if aoColumns %}
        $(function() {
                var reportTables = new HQReportDataTables({
                    {% if aoColumns %}aoColumns: {{ aoColumns|JSON }}{% endif %},
                });
                reportTables.render();
        });
        {% endif %}
    </script>
{% endblock %}

{% block page_breadcrumbs %}
    <ol id="hq-breadcrumbs" class="breadcrumb breadcrumb-hq-section"><commit_msg>add checks for adding datepicker and dataTables scripts to avoid errors for missing methods<commit_after>{% extends "style/two_column.html" %}
{% load hq_shared_tags %}
{% load i18n %}

{% block title %}{% if current_page and section %}{% if current_page.title %}{{ current_page.title }} : {% endif %}{{ section.page_name }} {% else %}{{ report.title }}{% endif %}: Admin Reports{% endblock %}

{% block js %}{{ block.super }}
    {% if request.use_use_datatables %}
        <script src="{% static 'reports/javascripts/config.dataTables.bootstrap.js' %}"></script>
    {% endif %}
    {% if request.use_jquery_ui %}
        <script src="{% static 'reports/javascripts/datepicker.js' %}"></script>
    {% endif %}
{% endblock %}

{% block js-inline %} {{ block.super }}
    <script>
        {% if aoColumns %}
        $(function() {
                var reportTables = new HQReportDataTables({
                    {% if aoColumns %}aoColumns: {{ aoColumns|JSON }}{% endif %},
                });
                reportTables.render();
        });
        {% endif %}
    </script>
{% endblock %}

{% block page_breadcrumbs %}
    <ol id="hq-breadcrumbs" class="breadcrumb breadcrumb-hq-section">
{'fraction_non_alphanumeric': 0.18057455540355677, 'fraction_numerical': 0.001823985408116735, 'mean_word_length': 2.8900709219858154, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '136916', 'n_tokens_mistral': 739, 'n_tokens_neox': 646, 'n_words': 146}