<commit_before>{% load i18n %}
{% load sentry_features %}
{% load sentry_helpers %}
{% load sentry_permissions %}
{% get_sentry_version %}
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8">
        <meta name="robots" content="NONE,NOARCHIVE">

        <link href="{% url 'sentry-media' "sentry" "images/favicon.ico" %}" rel="shortcut icon" type="image/png"/>

        {% block css %}
            <link href="{% url 'sentry-media' "sentry" "dist/sentry.css" %}" rel="stylesheet"/>
        {% endblock %}

        <title>{% block title %}Sentry{% endblock %}</title>

        <!--[if lt IE 9]>
        <script type="text/javascript" src="{% url 'sentry-media' "sentry" "scripts/lib/html5shiv.js" %}"></script>
        <![endif]-->
        {% block scripts %}
            <script src="{% url 'sentry-media' "sentry" "dist/vendor-jquery.min.js" %}"></script>
            <script src="{% url 'sentry-media' "sentry" "dist/vendor-backbone.min.js" %}"></script>
            <script src="{% url 'sentry-media' "sentry" "dist/vendor-bootstrap.min.js" %}"></script>
            <script src="{% url 'sentry-media' "sentry" "dist/vendor-misc.min.js" %}"></script>
            <script src="{% url 'sentry-media' "sentry" "dist/app.min.js" %}"></script>
            <script src="{% url 'sentry-media' "sentry" "dist/app-legacy.min.js" %}"></script>
            <script type="text/javascript">
            {% if request.LANGUAGE_CODE %}
                moment.lang('{{ request.LANGUAGE_CODE }}');
            {% endif %}
            app.config.clippyPath = '{% url 'sentry-media' "sentry" "clippy.swf" %}';
            app.config.popupCss = '{% url 'sentry-media' "sentry" 'styles/popup.css' %}';
            app.config.mediaUrl = '{% url 'sentry-media' "sentry" '' %}';
            app.config.urlPrefix = {{ URL_PREFIX|to_json|safe }};
            {% if project %}
                app.config.projectId = {{ project.slug|to_json|safe }};
                app.config.teamId = {{ project.team.slug|to_json|safe }};
                app.config.organizationId = {{ project.organization.slug|to_json|safe }};
            {% elif team %}
                app.config.projectId = null;
                app.config.teamId = {{ team.slug|to_json|safe }};
                app.config.organizationId = {{ team.organization.slug|to_json|safe }};
            {% elif organization %}
                app.config.projectId = null;
                app.config.teamId = null;
                app.config.organizationId = {{ organization.slug|to_json|safe }};
            {% else %}
                app.config.projectId = null;
                app.config.teamId = null;
                app.config.organizationId = null;
            {% endif %}
            </script>
        {% endblock %}

        {% block meta %}
        {% endblock %}
    </head>

    <body class="{% block wrapperclass %}{% endblock %}">
        <div class="outer-wrapper">
        {% block body %}
        {% block header %}
            <header id="header">
                <div class="navbar navbar-inverse">
                    <div class="navbar-inner">
                        <div class="container">
                            {% if organization %}
                                <a id="logo" href="{% url 'sentry-organization-home' organization.slug %}">Sentry</a>
                            {% else %}
                                <a id="logo" href="{% url 'sentry' %}">Sentry</a>
                            {% endif %}
                            {% if team %}
                            <div id="team-banner">
                                {% if TEAM_LIST %}
                                    <a class="dropdown-toggle" data-toggle="dropdown">
                                        {% if team %}
                                            {{ team.name }}
                                            {% if project %}
                                                <small>{{ project.name }}</small>
                                            {% endif %}
                                            <span class="caret"></span>
                                        {% endif %}
                                    </a>
                                    <nav class="dropdown-menu">
                                        <!-- <input type="text" value="search by project name"> <a href="#" class="btn">New</a> -->
                                        {% for t, p_list in TEAM_LIST %}
                                            <h6><a href="{% url 'sentry-team-dashboard' organization.slug t.slug %}">{{ t.name }}</a></h6>
                                            <ul class="project-list">
                                                {% for p in p_list %}
                                                    <li{% if p.id == project.id %} class="active"{% endif %}>
                                                        <a href="{% url 'sentry-stream' organization.slug p.slug %}" title="{{ p.name }}">{{ p.name }}</a>
                                                    </li>
                                                {% endfor %}
                                            </ul>
                                        {% endfor %}
                                    </nav>
                                {% else %}
                                    <a>
                                        {{ team.name }}
                                        {% if project %}
                                            <small>{{ project.name }}</small>
                                        {% endif %}
                                    </a>
                                {% endif %}
                            </div>
                            {% else %}
                                <h1>{% block heading %}{% endblock %}</h1>
                            {% endif %}
                            <ul class="nav pull-right">
                                {% block account_nav %}
                                    {% if request.user.is_authenticated %}
                                        <li><a href="{% url 'sentry-help' %}">{% trans "Docs" %}</a></li>
                                        {% with organization_list=request.user|list_organizations %}
                                        {% if organiation_list %}
                                            <li class="dropdown org-dropdown">
                                              <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                                {% if organization %}
                                                  {{ organization.name }}
                                                {% else %}
                                                  {% trans "Organizations" %}
                                                {% endif %}
                                                <span class="caret"></span>
                                              </a>
                                              <ul class="dropdown-menu">
                                                {% feature organizations:create %}
                                                  <li><h6><a href="{% url 'sentry-create-organization' %}" class="new pull-right"><span class="icon-plus"></span></a>{% trans "Organizations" %}</h6></li>
                                                {% endfeature %}
                                                {% for o in organization_list %}
                                                    <li{% if o == organization %} class="active"{% endif %}>
                                                        <a href="{% url 'sentry-organization-home' o.slug %}">{{ o.name }}</a>
                                                        {% if request.user|can_manage_org:o %}
                                                            <a href="{% url 'sentry-organization-settings' o.slug %}" class="org-settings"><span class="icon-cog"></span></a>
                                                        {% endif %}
                                                    </li>
                                                {% endfor %}
                                              </ul>
                                            </li>
                                        {% else %}
                                            {% feature organizations:create %}
                                            <li class="dropdown org-dropdown">
                                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                                    {% if organization %}
                                                        {{ organization.name }}
                                                    {% else %}
                                                        {% trans "Organizations" %}
                                                    {% endif %}
                                                    <span class="caret"></span>
                                                </a>
                                                <ul class="dropdown-menu">
                                                    <li><h6><a href="{% url 'sentry-create-organization' %}" class="new pull-right"><span class="icon-plus"></span></a>{% trans "Organizations" %}</h6></li>
                                                </ul>
                                            </li>
                                            {% endfeature %}
                                        {% endif %}}
                                        {% endwith %}
                                        <li class="dropdown">
                                            <a href="#" class="dropdown-toggle" data-toggle="dropdown"><img class="avatar" src="{% gravatar_url user.email size 20 %}"> <span class="caret"></span></a>
                                            <ul class="dropdown-menu">
                                                <li><a href="{% url 'sentry-account-settings' %}">{% trans "Account" %}</a></li>
                                                {% if request.user.is_staff %}
                                                    <li><a href="{% url 'sentry-admin-status' %}">{% trans "Admin" %}</a></li>
                                                {% endif %}
                                                <li class="divider">
                                                <li><a href="{% url 'sentry-logout' %}">{% trans "Logout" %}</a></li>
                                            </ul>
                                        </li>
                                    {% else %}<commit_msg>Remove extraneous }<commit_after>{% load i18n %}
{% load sentry_features %}
{% load sentry_helpers %}
{% load sentry_permissions %}
{% get_sentry_version %}
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8">
        <meta name="robots" content="NONE,NOARCHIVE">

        <link href="{% url 'sentry-media' "sentry" "images/favicon.ico" %}" rel="shortcut icon" type="image/png"/>

        {% block css %}
            <link href="{% url 'sentry-media' "sentry" "dist/sentry.css" %}" rel="stylesheet"/>
        {% endblock %}

        <title>{% block title %}Sentry{% endblock %}</title>

        <!--[if lt IE 9]>
        <script type="text/javascript" src="{% url 'sentry-media' "sentry" "scripts/lib/html5shiv.js" %}"></script>
        <![endif]-->
        {% block scripts %}
            <script src="{% url 'sentry-media' "sentry" "dist/vendor-jquery.min.js" %}"></script>
            <script src="{% url 'sentry-media' "sentry" "dist/vendor-backbone.min.js" %}"></script>
            <script src="{% url 'sentry-media' "sentry" "dist/vendor-bootstrap.min.js" %}"></script>
            <script src="{% url 'sentry-media' "sentry" "dist/vendor-misc.min.js" %}"></script>
            <script src="{% url 'sentry-media' "sentry" "dist/app.min.js" %}"></script>
            <script src="{% url 'sentry-media' "sentry" "dist/app-legacy.min.js" %}"></script>
            <script type="text/javascript">
            {% if request.LANGUAGE_CODE %}
                moment.lang('{{ request.LANGUAGE_CODE }}');
            {% endif %}
            app.config.clippyPath = '{% url 'sentry-media' "sentry" "clippy.swf" %}';
            app.config.popupCss = '{% url 'sentry-media' "sentry" 'styles/popup.css' %}';
            app.config.mediaUrl = '{% url 'sentry-media' "sentry" '' %}';
            app.config.urlPrefix = {{ URL_PREFIX|to_json|safe }};
            {% if project %}
                app.config.projectId = {{ project.slug|to_json|safe }};
                app.config.teamId = {{ project.team.slug|to_json|safe }};
                app.config.organizationId = {{ project.organization.slug|to_json|safe }};
            {% elif team %}
                app.config.projectId = null;
                app.config.teamId = {{ team.slug|to_json|safe }};
                app.config.organizationId = {{ team.organization.slug|to_json|safe }};
            {% elif organization %}
                app.config.projectId = null;
                app.config.teamId = null;
                app.config.organizationId = {{ organization.slug|to_json|safe }};
            {% else %}
                app.config.projectId = null;
                app.config.teamId = null;
                app.config.organizationId = null;
            {% endif %}
            </script>
        {% endblock %}

        {% block meta %}
        {% endblock %}
    </head>

    <body class="{% block wrapperclass %}{% endblock %}">
        <div class="outer-wrapper">
        {% block body %}
        {% block header %}
            <header id="header">
                <div class="navbar navbar-inverse">
                    <div class="navbar-inner">
                        <div class="container">
                            {% if organization %}
                                <a id="logo" href="{% url 'sentry-organization-home' organization.slug %}">Sentry</a>
                            {% else %}
                                <a id="logo" href="{% url 'sentry' %}">Sentry</a>
                            {% endif %}
                            {% if team %}
                            <div id="team-banner">
                                {% if TEAM_LIST %}
                                    <a class="dropdown-toggle" data-toggle="dropdown">
                                        {% if team %}
                                            {{ team.name }}
                                            {% if project %}
                                                <small>{{ project.name }}</small>
                                            {% endif %}
                                            <span class="caret"></span>
                                        {% endif %}
                                    </a>
                                    <nav class="dropdown-menu">
                                        <!-- <input type="text" value="search by project name"> <a href="#" class="btn">New</a> -->
                                        {% for t, p_list in TEAM_LIST %}
                                            <h6><a href="{% url 'sentry-team-dashboard' organization.slug t.slug %}">{{ t.name }}</a></h6>
                                            <ul class="project-list">
                                                {% for p in p_list %}
                                                    <li{% if p.id == project.id %} class="active"{% endif %}>
                                                        <a href="{% url 'sentry-stream' organization.slug p.slug %}" title="{{ p.name }}">{{ p.name }}</a>
                                                    </li>
                                                {% endfor %}
                                            </ul>
                                        {% endfor %}
                                    </nav>
                                {% else %}
                                    <a>
                                        {{ team.name }}
                                        {% if project %}
                                            <small>{{ project.name }}</small>
                                        {% endif %}
                                    </a>
                                {% endif %}
                            </div>
                            {% else %}
                                <h1>{% block heading %}{% endblock %}</h1>
                            {% endif %}
                            <ul class="nav pull-right">
                                {% block account_nav %}
                                    {% if request.user.is_authenticated %}
                                        <li><a href="{% url 'sentry-help' %}">{% trans "Docs" %}</a></li>
                                        {% with organization_list=request.user|list_organizations %}
                                        {% if organiation_list %}
                                            <li class="dropdown org-dropdown">
                                              <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                                {% if organization %}
                                                  {{ organization.name }}
                                                {% else %}
                                                  {% trans "Organizations" %}
                                                {% endif %}
                                                <span class="caret"></span>
                                              </a>
                                              <ul class="dropdown-menu">
                                                {% feature organizations:create %}
                                                  <li><h6><a href="{% url 'sentry-create-organization' %}" class="new pull-right"><span class="icon-plus"></span></a>{% trans "Organizations" %}</h6></li>
                                                {% endfeature %}
                                                {% for o in organization_list %}
                                                    <li{% if o == organization %} class="active"{% endif %}>
                                                        <a href="{% url 'sentry-organization-home' o.slug %}">{{ o.name }}</a>
                                                        {% if request.user|can_manage_org:o %}
                                                            <a href="{% url 'sentry-organization-settings' o.slug %}" class="org-settings"><span class="icon-cog"></span></a>
                                                        {% endif %}
                                                    </li>
                                                {% endfor %}
                                              </ul>
                                            </li>
                                        {% else %}
                                            {% feature organizations:create %}
                                            <li class="dropdown org-dropdown">
                                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                                    {% if organization %}
                                                        {{ organization.name }}
                                                    {% else %}
                                                        {% trans "Organizations" %}
                                                    {% endif %}
                                                    <span class="caret"></span>
                                                </a>
                                                <ul class="dropdown-menu">
                                                    <li><h6><a href="{% url 'sentry-create-organization' %}" class="new pull-right"><span class="icon-plus"></span></a>{% trans "Organizations" %}</h6></li>
                                                </ul>
                                            </li>
                                            {% endfeature %}
                                        {% endif %}
                                        {% endwith %}
                                        <li class="dropdown">
                                            <a href="#" class="dropdown-toggle" data-toggle="dropdown"><img class="avatar" src="{% gravatar_url user.email size 20 %}"> <span class="caret"></span></a>
                                            <ul class="dropdown-menu">
                                                <li><a href="{% url 'sentry-account-settings' %}">{% trans "Account" %}</a></li>
                                                {% if request.user.is_staff %}
                                                    <li><a href="{% url 'sentry-admin-status' %}">{% trans "Admin" %}</a></li>
                                                {% endif %}
                                                <li class="divider">
                                                <li><a href="{% url 'sentry-logout' %}">{% trans "Logout" %}</a></li>
                                            </ul>
                                        </li>
                                    {% else %}
{'fraction_non_alphanumeric': 0.1336861161398134, 'fraction_numerical': 0.001392563709789723, 'mean_word_length': 0.8194409255975003, 'pattern_counts': {'":': 0, '<': 273, '<?xml version=': 0, '>': 273, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 335, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7306741', 'n_tokens_mistral': 4768, 'n_tokens_neox': 4266, 'n_words': 916}