<commit_before>{% load url from future %}

<ul class="tab-links">

    <li><a href="{% url "place" slug=object.slug %}">Overview</a></li>

    {% if object.has_scorecards %}
    <li><a href="{% url "place_scorecard" slug=object.slug %}">Scorecard</a></li>
    {% endif %}

    <li><a href="{% url "place_people" slug=object.slug %}">People</a></li>
    <li><a href="{% url "place_places" slug=object.slug %}">Places</a></li>

    {% if settings.ENABLED_FEATURES.place_data and object.placedata %}
    <li><a href="{% url "place_data" slug=object.slug %}">Data</a></li>
    {% endif %}

    {% if settings.ENABLED_FEATURES.projects and object.is_constituency %}
    <li><a href="{% url "place_projects" slug=object.slug %}">CDF Projects ({{ object.project_set.count }})</a></li>
    {% endif %}

</ul><commit_msg>Change place to constituency office on place pages<commit_after>{% load url from future %}

<ul class="tab-links">

    <li><a href="{% url "place" slug=object.slug %}">Overview</a></li>

    {% if object.has_scorecards %}
    <li><a href="{% url "place_scorecard" slug=object.slug %}">Scorecard</a></li>
    {% endif %}

    <li><a href="{% url "place_people" slug=object.slug %}">People</a></li>
    <li><a href="{% url "place_places" slug=object.slug %}">Constituency Offices</a></li>

    {% if settings.ENABLED_FEATURES.place_data and object.placedata %}
    <li><a href="{% url "place_data" slug=object.slug %}">Data</a></li>
    {% endif %}

    {% if settings.ENABLED_FEATURES.projects and object.is_constituency %}
    <li><a href="{% url "place_projects" slug=object.slug %}">CDF Projects ({{ object.project_set.count }})</a></li>
    {% endif %}

</ul>
{'fraction_non_alphanumeric': 0.21611940298507462, 'fraction_numerical': 0.0, 'mean_word_length': 4.188854489164087, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 55, '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': '1216297', 'n_tokens_mistral': 653, 'n_tokens_neox': 592, 'n_words': 127}