<commit_before>{% load i18n teams_tags %}
{% load url from future %}

<ul>
    <li {% if current_sub == "videos" %}class="current"{% endif %}>
        <a href="{% url "teams:activity" team.slug %}">{% trans "Videos" %}</a>
    </li>
    <li {% if current_sub == "team" %}class="current"{% endif %}>
        <a href="{% url "teams:team-activity" team.slug %}">{% trans "Team" %}</a>
    </li>
    <li {% if current_sub == "videosstats" %}class="current"{% endif %}>
        <a href="{% url "teams:videosstatistics-activity" team.slug %}">{% trans "Videos Statistics" %}</a>
    </li>
    {% if team|can_view_stats_tab:user %}
    <li {% if current_sub == "teamstats" %}class="current"{% endif %}>
        <a href="{% url "teams:teamstatistics-activity" team.slug %}">{% trans "Team Statistics" %}</a>
    </li>
    {% endif %}
    {% if current_sub == "videos" or current_sub == "team" %}
    <li>
      <a href="#filter" id="sort-filter" class="default-open">
	{% trans 'Filter and Sort' %}
	<span></span>
      </a>
    </li>
    {% endif %}
</ul>
<commit_msg>Add back the filter and sort button (#1930)<commit_after>{% load i18n teams_tags %}
{% load url from future %}

<ul>
    <li {% if tab == "videos" %}class="current"{% endif %}>
        <a href="{% url "teams:activity" team.slug %}">{% trans "Videos" %}</a>
    </li>
    <li {% if tab == "team" %}class="current"{% endif %}>
        <a href="{% url "teams:team-activity" team.slug %}">{% trans "Team" %}</a>
    </li>
    <li {% if tab == "videosstats" %}class="current"{% endif %}>
        <a href="{% url "teams:videosstatistics-activity" team.slug %}">{% trans "Videos Statistics" %}</a>
    </li>
    {% if team|can_view_stats_tab:user %}
    <li {% if tab == "teamstats" %}class="current"{% endif %}>
        <a href="{% url "teams:teamstatistics-activity" team.slug %}">{% trans "Team Statistics" %}</a>
    </li>
    {% endif %}
    {% if tab == "videos" or tab == "team" %}
    <li>
      <a href="#filter" id="sort-filter" class="default-open">
	{% trans 'Filter and Sort' %}
	<span></span>
      </a>
    </li>
    {% endif %}
</ul>

{'fraction_non_alphanumeric': 0.2352661596958175, 'fraction_numerical': 0.0038022813688212928, 'mean_word_length': 3.1600790513833994, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 51, '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': '4424961', 'n_tokens_mistral': 846, 'n_tokens_neox': 748, 'n_words': 195}