<commit_before>{% load i18n %}
<!DOCTYPE html>
<html class="no-js" lang="en-gb">
<head>
    <meta charset="utf-8">
    <title>{% block title %}{{ site.name }}{% endblock %}</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link rel="alternate" type="application/atom+xml" title="RSS" href="/feeds/changes.xml">

    {% block country_wide_extra_head %}
    {% endblock %}

    {% block extra_head %}
    {% endblock %}

    {% load staticfiles %}
    <link rel="shortcut icon" href="{% static 'img/favicon.ico' %}"/>
    <link rel="apple-touch-icon" href="{% static 'img/apple-touch-icon.png' %}"/>

    {% load pipeline %}
    {% stylesheet 'all' %}
    {% block extra_css %}
    {% endblock %}

    <!--[if lt IE 9]>
      <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.2/html5shiv.js"></script>
      <script src="//html5base.googlecode.com/svn-history/r38/trunk/js/selectivizr-1.0.3b.js"></script>
      <script src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.1.0/respond.min.js"></script>
    <![endif]-->

    {% javascript 'all' %}
    {% block extra_js %}
    {% endblock %}
</head>

<body class="{% block body_class %}{% endblock %}">
  <div class="header">
    <div class="header__masthead">
      <div class="container">
        <a href="/" class="header__masthead__logo">{{ site.name }}</a>
        <ul class="nav-links">
          {% if user.is_authenticated %}
            <li class="nav-links__item">{% blocktrans with username=user.username %}Signed in as <strong>{{ username }}</strong>{% endblocktrans %}</li>
            {% if user_can_lock and suggestions_to_lock > 0 %}
              <li class="nav-links__item">
                <a href="{% url 'election_list_view' %}?review_required=suggestion&has_sopn=1">
                  <span class="notification">{{ suggestions_to_lock }}</span> Post lock suggestions
                </a>
              </li>
            {% endif %}
            {% if user_can_review_photos and photos_for_review > 0 %}
              <li class="nav-links__item"><a href="{% url 'photo-review-list' %}"><span class="notification">{{ photos_for_review }}</span> Photos for review</a></li>
            {% endif %}
            <li class="nav-links__item"><a href="{% url 'account_logout' %}{% if redirect_after_login %}?next={{ redirect_after_login }}{% endif %}">{% trans "Sign out" %}</a></li>
          {% else %}
            <li class="nav-links__item"><a href="{% url 'account_login' %}{% if redirect_after_login %}?next={{ redirect_after_login }}{% endif %}" class="header__nav__login">{% trans "Sign in to edit" %}</a></li>
          {% endif %}<commit_msg>Update header link<commit_after>{% load i18n %}
<!DOCTYPE html>
<html class="no-js" lang="en-gb">
<head>
    <meta charset="utf-8">
    <title>{% block title %}{{ site.name }}{% endblock %}</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link rel="alternate" type="application/atom+xml" title="RSS" href="/feeds/changes.xml">

    {% block country_wide_extra_head %}
    {% endblock %}

    {% block extra_head %}
    {% endblock %}

    {% load staticfiles %}
    <link rel="shortcut icon" href="{% static 'img/favicon.ico' %}"/>
    <link rel="apple-touch-icon" href="{% static 'img/apple-touch-icon.png' %}"/>

    {% load pipeline %}
    {% stylesheet 'all' %}
    {% block extra_css %}
    {% endblock %}

    <!--[if lt IE 9]>
      <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.2/html5shiv.js"></script>
      <script src="//html5base.googlecode.com/svn-history/r38/trunk/js/selectivizr-1.0.3b.js"></script>
      <script src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.1.0/respond.min.js"></script>
    <![endif]-->

    {% javascript 'all' %}
    {% block extra_js %}
    {% endblock %}
</head>

<body class="{% block body_class %}{% endblock %}">
  <div class="header">
    <div class="header__masthead">
      <div class="container">
        <a href="/" class="header__masthead__logo">{{ site.name }}</a>
        <ul class="nav-links">
          {% if user.is_authenticated %}
            <li class="nav-links__item">{% blocktrans with username=user.username %}Signed in as <strong>{{ username }}</strong>{% endblocktrans %}</li>
            {% if user_can_lock and suggestions_to_lock > 0 %}
              <li class="nav-links__item">
                <a href="{% url 'suggestions-to-lock-review-list' %}">
                  <span class="notification">{{ suggestions_to_lock }}</span> Ballot lock suggestions
                </a>
              </li>
            {% endif %}
            {% if user_can_review_photos and photos_for_review > 0 %}
              <li class="nav-links__item"><a href="{% url 'photo-review-list' %}"><span class="notification">{{ photos_for_review }}</span> Photos for review</a></li>
            {% endif %}
            <li class="nav-links__item"><a href="{% url 'account_logout' %}{% if redirect_after_login %}?next={{ redirect_after_login }}{% endif %}">{% trans "Sign out" %}</a></li>
          {% else %}
            <li class="nav-links__item"><a href="{% url 'account_login' %}{% if redirect_after_login %}?next={{ redirect_after_login }}{% endif %}" class="header__nav__login">{% trans "Sign in to edit" %}</a></li>
          {% endif %}
{'fraction_non_alphanumeric': 0.19837458441078684, 'fraction_numerical': 0.008311784263021796, 'mean_word_length': 3.0140845070422535, 'pattern_counts': {'":': 0, '<': 105, '<?xml version=': 0, '>': 109, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '340941', 'n_tokens_mistral': 1938, 'n_tokens_neox': 1747, 'n_words': 357}