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

{% block title %} | Extension: Sapelli{% endblock %}

{% block main %}
<div class="page-header">
    <div class="container">
        <div class="row">
            <div class="col-sm-6">
                <h1 class="smaller"><a href="{% url 'geokey_sapelli:index' %}">Sapelli</a></h1>
            </div>
        </div>

    </div>
</div>

<div class="container">
    {% include 'snippets/messages.html' %}

    <div class="row">
        {% include 'snippets/sapelli_menu.html' %}

        <div class="col-sm-8">
            <h3 class="header">Sapelli projects</h3>
            {% for sapelli in projects %}
                {% if forloop.first %}<ul class="list-unstyled overview-list">{% endif %}

                    <li>
                        <h4>
                            <a href="{% url 'geokey_sapelli:data_csv_upload' sapelli.project.id %}">{{ sapelli.project.name }}</a>
                            <a href="{% url 'admin:project_overview' sapelli.project.id %}"  class="label label-info">Manage  project</a>
                        </h4>
                        {% if sapelli.project.description %}<p>{{sapelli.project.description}}</p>{% endif %}
                    </li>

                {% if forloop.last %}</ul>{% endif %}
            {% endfor %}
        </div>
    </div>
</div>
{% endblock %}

{% block libraries %}
{% endblock %}<commit_msg>Message when a list of Sapelli projects is empty<commit_after>{% extends "base.html" %}

{% block title %} | Extension: Sapelli{% endblock %}

{% block main %}
<div class="page-header">
    <div class="container">
        <div class="row">
            <div class="col-sm-6">
                <h1 class="smaller"><a href="{% url 'geokey_sapelli:index' %}">Sapelli</a></h1>
            </div>
        </div>

    </div>
</div>

<div class="container">
    {% include 'snippets/messages.html' %}

    <div class="row">
        {% include 'snippets/sapelli_menu.html' %}

        <div class="col-sm-8">
            <h3 class="header">Sapelli projects</h3>

            {% for sapelli in projects %}
                {% if forloop.first %}<ul class="list-unstyled overview-list">{% endif %}

                    <li>
                        <h4>
                            <a href="{% url 'geokey_sapelli:data_csv_upload' sapelli.project.id %}">{{ sapelli.project.name }}</a>
                            <a href="{% url 'admin:project_overview' sapelli.project.id %}"  class="label label-info">Manage  project</a>
                        </h4>
                        {% if sapelli.project.description %}<p>{{sapelli.project.description}}</p>{% endif %}
                    </li>

                {% if forloop.last %}</ul>{% endif %}
            {% empty %}
                <p>No Sapelli projects were found.</p>
            {% endfor %}
        </div>
    </div>
</div>
{% endblock %}

{% block libraries %}
{% endblock %}
{'fraction_non_alphanumeric': 0.17802122560766862, 'fraction_numerical': 0.005477576172543649, 'mean_word_length': 1.7775665399239544, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 69, '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': '2553352', 'n_tokens_mistral': 979, 'n_tokens_neox': 870, 'n_words': 186}