<commit_before>{% load queryset_tags %}
<li class="event">
    <span class="action-object"><a href="{{ topic.get_absolute_url }}{% if group.slug %}?team={{ group.slug }}{% endif %}">{{ topic.subject }}</a><span>
    <span class="timestamp">
        {{ topic.modified|timesince }} ago
        by
        <span class="target">
            {% with topic.items.latest.creator as content %}
                {% include "iris/content_link.html" %}
            {% endwith %}
        </span>
    </span>
</li><commit_msg>Show information about team(s) that a topic is in, if not displaying the topic summary inside a team.<commit_after>{% load iris_tags %}
{% load queryset_tags %}
<li class="event">
    <span class="action-object"><a href="{{ topic.get_absolute_url }}{% if group.slug %}?team={{ group.slug }}{% endif %}">{{ topic.subject }}</a><span>
    <span class="timestamp">
        {{ topic.modified|timesince }} ago
        by
        <span class="target">
            {% with topic.items.latest.creator as content %}
                {% include "iris/content_link.html" %}
            {% endwith %}
            {% if not group %}
                {% with topic|participantsoftype:"teams.team" as team_participants %}
                {% with team_participants|length as length %}
                    {% if length == 1 %}
                        <br>in <a href="{{ team_participants.0.get_absolute_url }}">{{ team_participants.0 }}</a>
                    {% endif %}
                    {% if length > 1 %}
                        <br>in {{ length }} team{{ length|pluralize }}
                    {% endif %}
                {% endwith %}
                {% endwith %}
            {% endif %}
        </span>
    </span>
</li>
{'fraction_non_alphanumeric': 0.16512166859791425, 'fraction_numerical': 0.002317497103128621, 'mean_word_length': 1.9370748299319729, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 28, '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': '2121363', 'n_tokens_mistral': 535, 'n_tokens_neox': 476, 'n_words': 116}