<commit_before>{% set active_page='package'%}{% extends "layout.html" %}
{% block title %}Packages{% endblock %}
{% block content %}
   <script src="{{url_for('static', filename='jquery.tablesorter.min.js')}}"></script>
    <script >
    $(function() {
    $("table#packages").tablesorter({ sortList: [[0,0]] });
    });

    </script>
    <h1>Packages</h1>
    <table class="table" id="packages">
        <thead>
        <th>Package name</th><th>Issues</th><th>Registry</th>
        </thead>
        <tbody>
        {% for package in packages %}
        <tr>
            <td>{{package.name}}</td><td>{% if package.issue_type %}{{package.issue_type}}{% endif %}</td><td><a href="http://iatiregistry.org/dataset/{{package.name}}"><i class="icon-arrow-right"></i></a></td>
        </tr>
        {% endfor %}
        </tbody>

    </table>

{% endblock %}<commit_msg>Add deleted package info to package UI<commit_after>{% set active_page='package'%}{% extends "layout.html" %}
{% block title %}Packages{% endblock %}
{% block content %}
   <script src="{{url_for('static', filename='jquery.tablesorter.min.js')}}"></script>
    <script >
    $(function() {
    $("table#packages").tablesorter({ sortList: [[0,0]] });
    });

    </script>
    <h1>Packages</h1>
    <table class="table" id="packages">
        <thead>
        <th>Package name</th><th>Issues</th><th>Registry</th>
        </thead>
        <tbody>
        {% for package in packages %}
        <tr{% if package.deleted %} class="muted"{% endif %}>
            <td>{{package.name}}</td>
            <td>{% if package.issue_type %}{{package.issue_type}}{% endif %}</td>
            <td>{% if package.deleted %}
                <i class="icon-remove" title="This package has been deleted"></i>
                {% else %}
                <a href="http://iatiregistry.org/dataset/{{package.name}}">
                <i class="icon-arrow-right"></i></a>
                {% endif %}
            </td>
        </tr>
        {% endfor %}
        </tbody>

    </table>

{% endblock %}
{'fraction_non_alphanumeric': 0.21856581532416502, 'fraction_numerical': 0.003929273084479371, 'mean_word_length': 2.5, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 0, '>': 65, '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': '4208948', 'n_tokens_mistral': 691, 'n_tokens_neox': 637, 'n_words': 120}