<commit_before>{% load i18n %}
{% trans "Choose" as choose_str %}
{% include "wagtailadmin/shared/header.html" with title=choose_str subtitle=snippet_type_name icon="snippet" %}

<div class="nice-padding">
    {% include "wagtailsnippets/snippets/list.html" with choosing=1 %}
</div><commit_msg>added suitable message when no snippets of a particular type exist<commit_after>{% load i18n %}
{% trans "Choose" as choose_str %}
{% include "wagtailadmin/shared/header.html" with title=choose_str subtitle=snippet_type_name icon="snippet" %}

<div class="nice-padding">
    {% if items %}
    	{% include "wagtailsnippets/snippets/list.html" with choosing=1 %}
    {% else %}
    	{% url 'wagtailsnippets_create' content_type.app_label content_type.model as wagtailsnippets_create_snippet_url %}
    	<p>{% blocktrans %}You haven't created any {{ snippet_type_name }} snippets. Why not <a href="{{ wagtailsnippets_create_snippet_url }}" target="_blank">create one now{% endblocktrans %}</p>
    {% endif %}
</div>
{'fraction_non_alphanumeric': 0.14172447968285432, 'fraction_numerical': 0.005946481665014866, 'mean_word_length': 5.516129032258065, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, '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': '6347152', 'n_tokens_mistral': 371, 'n_tokens_neox': 323, 'n_words': 77}