<commit_before>{% cache cache_duration, 'org-card', organization.id|string, g.lang_code %}
<div class="card organization-card">
    <a class="card-logo" href="{{ url_for('organizations.show', org=organization) }}">
        <img alt="{{ organization.title }}"
            src="{{ organization.logo(60)|placeholder('organization') }}"
            width="60" height="60">
    </a>
    {% if organization.public_service %}
    <img src="{{ theme_static('img/certified-stamp.png') }}" alt="certified"
        class="certified" rel="popover"
        data-title="{{ _('Certified public service') }}"
        data-content="{{ _('The identity of this public service public is certified by Etalab') }}"
        data-container="body" data-trigger="hover"/>
    {% endif %}

    <div class="card-body">
        <h4>
            <a href="{{ url_for('organizations.show', org=organization) }}" title="{{organization.name}}">
                {{ organization.name|truncate(250) }}
            </a>
        </h4>
    </div>

    <footer>
        <ul>
            {% if organization.metrics.datasets %}
            <li>
                <a class="btn btn-xs" rel="tooltip" data-placement="top"
                    title="{{ _('Number of datasets') }}">
                    <span class="{{ ficon('fa-cubes') }} fa-fw"></span>
                    {{ ngettext('%(num)s dataset', '%(num)s datasets', organization.metrics.datasets or 0) }}
                </a>
            </li>
            {% endif %}
            {% if organization.metrics.reuses %}
            <li>
                <a class="btn btn-xs" rel="tooltip" data-placement="top"
                    title="{{ _('Number of reuses') }}">
                    <span class="{{ ficon('fa-retweet') }} fa-fw"></span>
                    {{ ngettext('%(num)s reuse', '%(num)s reuses', organization.metrics.reuses or 0) }}
                </a>
            </li>
            {% endif %}
            {# <li>
                <a class="btn btn-xs" rel="tooltip" data-placement="top"
                    title="{{ _('Number of members') }}">
                    <span class="fa fa-users fa-fw"></span>
                    {{ ngettext('%(num)s members', '%(num)s members', organization.members|length) }}
                </a>
            </li> #}
            <li>
                <a class="btn btn-xs" rel="tooltip" data-placement="top"
                    title="{{ _('Stars') }}">
                    <span class="{{ ficon('fa-star') }} fa-fw"></span>
                    {{ organization.metrics.followers or 0 }}
                </a>
            </li>
        </ul>
    </footer>

    <a class="rollover fade in" href="{{url_for('organizations.show', org=organization)}}"
        title="{{ organization.name }}">
        {{ organization.description|mdstrip(180) }}
    </a>
</div>
<commit_msg>Fix org card not closed endcache block<commit_after>{% cache cache_duration, 'org-card', organization.id|string, g.lang_code %}
<div class="card organization-card">
    <a class="card-logo" href="{{ url_for('organizations.show', org=organization) }}">
        <img alt="{{ organization.title }}"
            src="{{ organization.logo(60)|placeholder('organization') }}"
            width="60" height="60">
    </a>
    {% if organization.public_service %}
    <img src="{{ theme_static('img/certified-stamp.png') }}" alt="certified"
        class="certified" rel="popover"
        data-title="{{ _('Certified public service') }}"
        data-content="{{ _('The identity of this public service public is certified by Etalab') }}"
        data-container="body" data-trigger="hover"/>
    {% endif %}

    <div class="card-body">
        <h4>
            <a href="{{ url_for('organizations.show', org=organization) }}" title="{{organization.name}}">
                {{ organization.name|truncate(250) }}
            </a>
        </h4>
    </div>

    <footer>
        <ul>
            {% if organization.metrics.datasets %}
            <li>
                <a class="btn btn-xs" rel="tooltip" data-placement="top"
                    title="{{ _('Number of datasets') }}">
                    <span class="{{ ficon('fa-cubes') }} fa-fw"></span>
                    {{ ngettext('%(num)s dataset', '%(num)s datasets', organization.metrics.datasets or 0) }}
                </a>
            </li>
            {% endif %}
            {% if organization.metrics.reuses %}
            <li>
                <a class="btn btn-xs" rel="tooltip" data-placement="top"
                    title="{{ _('Number of reuses') }}">
                    <span class="{{ ficon('fa-retweet') }} fa-fw"></span>
                    {{ ngettext('%(num)s reuse', '%(num)s reuses', organization.metrics.reuses or 0) }}
                </a>
            </li>
            {% endif %}
            {# <li>
                <a class="btn btn-xs" rel="tooltip" data-placement="top"
                    title="{{ _('Number of members') }}">
                    <span class="fa fa-users fa-fw"></span>
                    {{ ngettext('%(num)s members', '%(num)s members', organization.members|length) }}
                </a>
            </li> #}
            <li>
                <a class="btn btn-xs" rel="tooltip" data-placement="top"
                    title="{{ _('Stars') }}">
                    <span class="{{ ficon('fa-star') }} fa-fw"></span>
                    {{ organization.metrics.followers or 0 }}
                </a>
            </li>
        </ul>
    </footer>

    <a class="rollover fade in" href="{{url_for('organizations.show', org=organization)}}"
        title="{{ organization.name }}">
        {{ organization.description|mdstrip(180) }}
    </a>
</div>
{% endcache %}

{'fraction_non_alphanumeric': 0.18556338028169014, 'fraction_numerical': 0.005985915492957746, 'mean_word_length': 1.8547738693467337, 'pattern_counts': {'":': 0, '<': 87, '<?xml version=': 0, '>': 87, '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': '4506971', 'n_tokens_mistral': 1687, 'n_tokens_neox': 1562, 'n_words': 339}