<commit_before>{% extends 'stadt/list.html' %}
{% load rules %}

{% block heading %}{% endblock %}

{% block list_header %}
{% has_perm 'entities.create_group' user as can_create_group %}
{% if can_create_group %}
<a href="{% url 'group-create' %}" class="btn btn-primary pull-right">Neue Gruppe</a>
{% endif %}
<span class="content-classification">Gruppen</span>
<h2>Deine Gruppe gestalten</h2>
<p>Ist Deine Gruppe schon auf Stadtgestalten?</p>
<p><a href="{% url 'group-index' %}" class="btn btn-primary">Gruppe finden</a></p>
{% has_perm 'content.create_content' user as can_create_content %}
{% if can_create_content %}
<div class="btn-group pull-right">
    <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
        Neuer Beitrag <span class="caret"></span>
    </button>
    <ul class="dropdown-menu">
        <li><a href="{% url 'article-create' %}">Artikel</a></li>
    </ul>
</div>
{% endif %}
<span class="content-classification">Beiträge</span>
{% endblock %}<commit_msg>added all content types to index page<commit_after>{% extends 'stadt/list.html' %}
{% load rules %}

{% block heading %}{% endblock %}

{% block list_header %}
{% has_perm 'entities.create_group' user as can_create_group %}
{% if can_create_group %}
<a href="{% url 'group-create' %}" class="btn btn-primary pull-right">Neue Gruppe</a>
{% endif %}
<span class="content-classification">Gruppen</span>
<h2>Deine Gruppe gestalten</h2>
<p>Ist Deine Gruppe schon auf Stadtgestalten?</p>
<p><a href="{% url 'group-index' %}" class="btn btn-primary">Gruppe finden</a></p>
{% has_perm 'content.create_content' user as can_create_content %}
{% if can_create_content %}
<div class="btn-group pull-right">
    <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
        <NAME> <span class="caret"></span>
    </button>
    <ul class="dropdown-menu">
        <li><a href="{% url 'article-create' %}">Artikel</a></li>
        <li><a href="{% url 'event-create' %}">Ereignis</a></li>
        <li><a href="{% url 'gallery-create' %}">Galerie</a></li>
    </ul>
</div>
{% endif %}
<span class="content-classification">Beiträge</span>
{% endblock %}
{'fraction_non_alphanumeric': 0.2, 'fraction_numerical': 0.001762114537444934, 'mean_word_length': 5.007936507936508, 'pattern_counts': {'":': 0, '<': 64, '<?xml version=': 0, '>': 64, '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': '241805', 'n_tokens_mistral': 835, 'n_tokens_neox': 787, 'n_words': 175}