<commit_before>{% load i18n %}
{% load rights_extras %}
<!DOCTYPE html>
<html lang="en-us">
    <head>
        <meta charset="utf-8">
        <!--<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">-->

        <title>{% block title %}Truffe{% endblock %}</title>
        <meta name="description" content="">
        <meta name="author" content="">

        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">

        <!-- Basic Styles -->
        <link rel="stylesheet" type="text/css" media="screen" href="{{MEDIA_URL}}css/bootstrap.min.css">
        <link rel="stylesheet" type="text/css" media="screen" href="{{MEDIA_URL}}css/font-awesome.min.css">

        <!-- SmartAdmin Styles : Please note (smartadmin-production.css) was created using LESS variables -->
        <link rel="stylesheet" type="text/css" media="screen" href="{{MEDIA_URL}}css/smartadmin-production.css">
        <link rel="stylesheet" type="text/css" media="screen" href="{{MEDIA_URL}}css/smartadmin-skins.css">

        <link rel="stylesheet" type="text/css" media="screen" href="{{MEDIA_URL}}css/lightbox.css">

        <link rel="stylesheet" type="text/css" media="screen" href="{{MEDIA_URL}}css/truffe.css">

        <!-- FAVICONS -->
        <link rel="shortcut icon" href="{{MEDIA_URL}}img/favicon/favicon.png" type="image/x-icon">
        <link rel="icon" href="{{MEDIA_URL}}img/favicon/favicon.png" type="image/x-icon">

        <!-- GOOGLE FONT -->
        <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,300,400,700">

        <script src="{{MEDIA_URL}}js/libs/jquery-2.0.2.min.js"></script>
        <script src="{{MEDIA_URL}}js/libs/jquery-ui-1.10.3.min.js"></script>
        <script src="{{MEDIA_URL}}js/plugin/jquery-form/jquery-form.min.js"></script>
        <script src="{{MEDIA_URL}}js/d3.min.js"></script>
        <script src="{{MEDIA_URL}}js/lightbox.min.js"></script>

    </head>
    <body class="fixed-ribbon fixed-header {% if user.body == 'm' %}minified{% endif %}{% if user.body == 'h' %}hidden-menu{% endif %}">

        <!-- HEADER -->
        <header id="header">
            <div id="logo-group">

              <!-- Squares: http://www.thenounproject.com/term/stop/23031/ -->
              <span id="logo"> <img src="{{MEDIA_URL}}img/logo.png" alt="Truffe"> </span>
                <!-- END LOGO PLACEHOLDER -->

                <span id="activity" class="activity-dropdown" url="{% url 'notifications.views.dropdown' %}">
                    <i class="fa fa-bell"></i>
                    <b class="badge bounceIn animated">{{notifications_count}}</b>

                </span>

                <div class="ajax-dropdown"></div>
            </div>

                <span style="font-weight: bold; font-size: 140%; color: #FF2383; margin-top: 30px; padding-top: 15px; margin-left: 40px; text-decoration: underline;">ATTENTION - APPLICATION EN COURS DE DEVELOPEMENT</span>
<!--             <!&#45;&#45; projects dropdown &#45;&#45;> -->
<!--             <div id="project&#45;context"> -->
<!--  -->
<!--                 <span class="label">Projects:</span> -->
<!--                 <span id="project&#45;selector" class="popover&#45;trigger&#45;element dropdown&#45;toggle" data&#45;toggle="dropdown">Recent projects <i class="fa fa&#45;angle&#45;down"></i></span> -->
<!--  -->
<!--                 <!&#45;&#45; Suggestion: populate this list with fetch and push technique &#45;&#45;> -->
<!--                 <ul class="dropdown&#45;menu"> -->
<!--                     <li> -->
<!--                         <a href="javascript:void(0);">Online e&#45;merchant management system &#45; attaching integration with the iOS</a> -->
<!--                     </li> -->
<!--                     <li> -->
<!--                         <a href="javascript:void(0);">Notes on pipeline upgradee</a> -->
<!--                     </li> -->
<!--                     <li> -->
<!--                         <a href="javascript:void(0);">Assesment Report for merchant account</a> -->
<!--                     </li> -->
<!--                     <li class="divider"></li> -->
<!--                     <li> -->
<!--                         <a href="javascript:void(0);"><i class="fa fa&#45;power&#45;off"></i> Clear</a> -->
<!--                     </li> -->
<!--                 </ul> -->
<!--                 <!&#45;&#45; end dropdown&#45;menu&#45;&#45;> -->
<!--  -->
<!--             </div> -->
<!--             <!&#45;&#45; end projects dropdown &#45;&#45;> -->

            <!-- pulled right: nav area -->
            <div class="pull-right">

                <!-- collapse menu button -->
                <div id="hide-menu" class="btn-header pull-right">
                    <span> <a href="javascript:void(0);" title="{% trans "Cacher le menu" %}"><i class="fa fa-reorder"></i></a> </span>
                </div>
                <!-- end collapse menu -->

                <!-- logout button -->
                <div id="logout" class="btn-header transparent pull-right">
                    <span> <a href="{% url 'django.contrib.auth.views.logout' %}" title="{% trans "Logout" %}"><i class="fa fa-sign-out"></i></a> </span>
                </div>
                <!-- end logout button -->

<!--                 <!&#45;&#45; search mobile button (this is hidden till mobile view port) &#45;&#45;> -->
<!--                 <div id="search&#45;mobile" class="btn&#45;header transparent pull&#45;right"> -->
<!--                     <span> <a href="javascript:void(0)" title="Search"><i class="fa fa&#45;search"></i></a> </span> -->
<!--                 </div> -->
<!--                 <!&#45;&#45; end search mobile button &#45;&#45;> -->
<!--  -->
<!--                 <!&#45;&#45; input: search field &#45;&#45;> -->
<!--                 <form action="#search.html" class="header&#45;search pull&#45;right"> -->
<!--                     <input type="text" placeholder="Find reports and more" id="search&#45;fld"> -->
<!--                     <button type="submit"> -->
<!--                         <i class="fa fa&#45;search"></i> -->
<!--                     </button> -->
<!--                     <a href="javascript:void(0);" id="cancel&#45;search&#45;js" title="Cancel Search"><i class="fa fa&#45;times"></i></a> -->
<!--                 </form> -->
<!--                 <!&#45;&#45; end input: search field &#45;&#45;> -->

            </div>
            <!-- end pulled right: nav area -->

        </header>
        <!-- END HEADER -->

        <!-- Left panel : Navigation area -->
        <aside id="left-panel">

            <!-- User info -->
            <div class="login-info">
                <span>

                    <a href="{% url 'users.views.users_profile' user.pk %}">
                        <img src="{% url 'users.views.users_profile_picture' user.pk %}" alt="" class="online" />
                        <span>
                            {{user.get_full_name}}
                        </span>
                    </a>
                </span>
            </div>
            <!-- end user info -->
            <nav>
                <ul>
                    <li>
                        <a href="{% url 'main.views.home' %}" title="{% trans "Acceuil" %}"><i class="fa fa-lg fa-fw fa-home"></i> <span class="menu-item-parent">{% trans "Acceuil" %}</span></a>
                    </li>
                    <li>
                        <a href="https://truffe.polylan.ch" title="{% trans "Retourner sur Truffe 1" %}"><i class="fa fa-lg fa-fw fa-backward"></i> <span class="menu-item-parent">{% trans "Retourner sur Truffe 1" %}</span></a>
                    </li>
                    {% if user.is_superuser or user.is_impersonate %}
                        <li>
                            <a href="#"><i class="fa fa-lg fa-fw fa-legal"></i> <span class="menu-item-parent">{% trans "Admin" %}</span></a>
                            <ul>
                                <li id="menu-impersonate">
                                    {% if not user.is_impersonate %}
                                        <a href="{% url 'impersonate-search' %}"><i class="fa fa-lg fa-fw fa-male"></i> {% trans "Impersonate" %}</a>
                                    {% else %}
                                        <a href="{% url 'impersonate-stop' %}"><i class="fa fa-lg fa-fw fa-male fa-spin"></i> {% trans "Stop Impersonate" %}</a>
                                    {% endif %}
                                </li>
                            </ul>
                        </li>
                    {% endif %}
                    <li>
                        <a href="#"><i class="fa fa-lg fa-fw fa-group"></i> <span class="menu-item-parent">{% trans "Gens" %}</span></a>
                        <ul>
                            <li id="menu-gens-annuaire">
                                <a href="{% url 'users.views.users_list' %}"><i class="fa fa-lg fa-fw fa-group"></i> {% trans "Annuaire global" %}</a>
                            </li>
                            <li id="menu-gens-monprofile">
                                <a href="{% url 'users.views.users_profile' user.pk %}"><i class="fa fa-lg fa-fw fa-user"></i> {% trans "Mon profile" %}</a>
                            </li>
                        </ul>
                    </li><commit_msg>Dont crash if no users<commit_after>{% load i18n %}
{% load rights_extras %}
<!DOCTYPE html>
<html lang="en-us">
    <head>
        <meta charset="utf-8">
        <!--<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">-->

        <title>{% block title %}Truffe{% endblock %}</title>
        <meta name="description" content="">
        <meta name="author" content="">

        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">

        <!-- Basic Styles -->
        <link rel="stylesheet" type="text/css" media="screen" href="{{MEDIA_URL}}css/bootstrap.min.css">
        <link rel="stylesheet" type="text/css" media="screen" href="{{MEDIA_URL}}css/font-awesome.min.css">

        <!-- SmartAdmin Styles : Please note (smartadmin-production.css) was created using LESS variables -->
        <link rel="stylesheet" type="text/css" media="screen" href="{{MEDIA_URL}}css/smartadmin-production.css">
        <link rel="stylesheet" type="text/css" media="screen" href="{{MEDIA_URL}}css/smartadmin-skins.css">

        <link rel="stylesheet" type="text/css" media="screen" href="{{MEDIA_URL}}css/lightbox.css">

        <link rel="stylesheet" type="text/css" media="screen" href="{{MEDIA_URL}}css/truffe.css">

        <!-- FAVICONS -->
        <link rel="shortcut icon" href="{{MEDIA_URL}}img/favicon/favicon.png" type="image/x-icon">
        <link rel="icon" href="{{MEDIA_URL}}img/favicon/favicon.png" type="image/x-icon">

        <!-- GOOGLE FONT -->
        <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,300,400,700">

        <script src="{{MEDIA_URL}}js/libs/jquery-2.0.2.min.js"></script>
        <script src="{{MEDIA_URL}}js/libs/jquery-ui-1.10.3.min.js"></script>
        <script src="{{MEDIA_URL}}js/plugin/jquery-form/jquery-form.min.js"></script>
        <script src="{{MEDIA_URL}}js/d3.min.js"></script>
        <script src="{{MEDIA_URL}}js/lightbox.min.js"></script>

    </head>
    <body class="fixed-ribbon fixed-header {% if user.body == 'm' %}minified{% endif %}{% if user.body == 'h' %}hidden-menu{% endif %}">

        <!-- HEADER -->
        <header id="header">
            <div id="logo-group">

              <!-- Squares: http://www.thenounproject.com/term/stop/23031/ -->
              <span id="logo"> <img src="{{MEDIA_URL}}img/logo.png" alt="Truffe"> </span>
                <!-- END LOGO PLACEHOLDER -->

                <span id="activity" class="activity-dropdown" url="{% url 'notifications.views.dropdown' %}">
                    <i class="fa fa-bell"></i>
                    <b class="badge bounceIn animated">{{notifications_count}}</b>

                </span>

                <div class="ajax-dropdown"></div>
            </div>

                <span style="font-weight: bold; font-size: 140%; color: #FF2383; margin-top: 30px; padding-top: 15px; margin-left: 40px; text-decoration: underline;">ATTENTION - APPLICATION EN COURS DE DEVELOPEMENT</span>
<!--             <!&#45;&#45; projects dropdown &#45;&#45;> -->
<!--             <div id="project&#45;context"> -->
<!--  -->
<!--                 <span class="label">Projects:</span> -->
<!--                 <span id="project&#45;selector" class="popover&#45;trigger&#45;element dropdown&#45;toggle" data&#45;toggle="dropdown">Recent projects <i class="fa fa&#45;angle&#45;down"></i></span> -->
<!--  -->
<!--                 <!&#45;&#45; Suggestion: populate this list with fetch and push technique &#45;&#45;> -->
<!--                 <ul class="dropdown&#45;menu"> -->
<!--                     <li> -->
<!--                         <a href="javascript:void(0);">Online e&#45;merchant management system &#45; attaching integration with the iOS</a> -->
<!--                     </li> -->
<!--                     <li> -->
<!--                         <a href="javascript:void(0);">Notes on pipeline upgradee</a> -->
<!--                     </li> -->
<!--                     <li> -->
<!--                         <a href="javascript:void(0);">Assesment Report for merchant account</a> -->
<!--                     </li> -->
<!--                     <li class="divider"></li> -->
<!--                     <li> -->
<!--                         <a href="javascript:void(0);"><i class="fa fa&#45;power&#45;off"></i> Clear</a> -->
<!--                     </li> -->
<!--                 </ul> -->
<!--                 <!&#45;&#45; end dropdown&#45;menu&#45;&#45;> -->
<!--  -->
<!--             </div> -->
<!--             <!&#45;&#45; end projects dropdown &#45;&#45;> -->

            <!-- pulled right: nav area -->
            <div class="pull-right">

                <!-- collapse menu button -->
                <div id="hide-menu" class="btn-header pull-right">
                    <span> <a href="javascript:void(0);" title="{% trans "Cacher le menu" %}"><i class="fa fa-reorder"></i></a> </span>
                </div>
                <!-- end collapse menu -->

                <!-- logout button -->
                <div id="logout" class="btn-header transparent pull-right">
                    <span> <a href="{% url 'django.contrib.auth.views.logout' %}" title="{% trans "Logout" %}"><i class="fa fa-sign-out"></i></a> </span>
                </div>
                <!-- end logout button -->

<!--                 <!&#45;&#45; search mobile button (this is hidden till mobile view port) &#45;&#45;> -->
<!--                 <div id="search&#45;mobile" class="btn&#45;header transparent pull&#45;right"> -->
<!--                     <span> <a href="javascript:void(0)" title="Search"><i class="fa fa&#45;search"></i></a> </span> -->
<!--                 </div> -->
<!--                 <!&#45;&#45; end search mobile button &#45;&#45;> -->
<!--  -->
<!--                 <!&#45;&#45; input: search field &#45;&#45;> -->
<!--                 <form action="#search.html" class="header&#45;search pull&#45;right"> -->
<!--                     <input type="text" placeholder="Find reports and more" id="search&#45;fld"> -->
<!--                     <button type="submit"> -->
<!--                         <i class="fa fa&#45;search"></i> -->
<!--                     </button> -->
<!--                     <a href="javascript:void(0);" id="cancel&#45;search&#45;js" title="Cancel Search"><i class="fa fa&#45;times"></i></a> -->
<!--                 </form> -->
<!--                 <!&#45;&#45; end input: search field &#45;&#45;> -->

            </div>
            <!-- end pulled right: nav area -->

        </header>
        <!-- END HEADER -->

        <!-- Left panel : Navigation area -->
        <aside id="left-panel">

            <!-- User info -->
            <div class="login-info">
                <span>

                    <a href="{% url 'users.views.users_profile' user.pk %}">
                        <img src="{% url 'users.views.users_profile_picture' user.pk %}" alt="" class="online" />
                        <span>
                            {{user.get_full_name}}
                        </span>
                    </a>
                </span>
            </div>
            <!-- end user info -->
            <nav>
                <ul>
                    <li>
                        <a href="{% url 'main.views.home' %}" title="{% trans "Acceuil" %}"><i class="fa fa-lg fa-fw fa-home"></i> <span class="menu-item-parent">{% trans "Acceuil" %}</span></a>
                    </li>
                    <li>
                        <a href="https://truffe.polylan.ch" title="{% trans "Retourner sur Truffe 1" %}"><i class="fa fa-lg fa-fw fa-backward"></i> <span class="menu-item-parent">{% trans "Retourner sur Truffe 1" %}</span></a>
                    </li>
                    {% if user.is_superuser or user.is_impersonate %}
                        <li>
                            <a href="#"><i class="fa fa-lg fa-fw fa-legal"></i> <span class="menu-item-parent">{% trans "Admin" %}</span></a>
                            <ul>
                                <li id="menu-impersonate">
                                    {% if not user.is_impersonate %}
                                        <a href="{% url 'impersonate-search' %}"><i class="fa fa-lg fa-fw fa-male"></i> {% trans "Impersonate" %}</a>
                                    {% else %}
                                        <a href="{% url 'impersonate-stop' %}"><i class="fa fa-lg fa-fw fa-male fa-spin"></i> {% trans "Stop Impersonate" %}</a>
                                    {% endif %}
                                </li>
                            </ul>
                        </li>
                    {% endif %}
                    <li>
                        <a href="#"><i class="fa fa-lg fa-fw fa-group"></i> <span class="menu-item-parent">{% trans "Gens" %}</span></a>
                        <ul>
                            <li id="menu-gens-annuaire">
                                <a href="{% url 'users.views.users_list' %}"><i class="fa fa-lg fa-fw fa-group"></i> {% trans "Annuaire global" %}</a>
                            </li>
                            {% if user and user.pk %}
                                <li id="menu-gens-monprofile">
                                    <a href="{% url 'users.views.users_profile' user.pk %}"><i class="fa fa-lg fa-fw fa-user"></i> {% trans "Mon profile" %}</a>
                                </li>
                            {% endif %}
                        </ul>
                    </li>
{'fraction_non_alphanumeric': 0.20924071424786733, 'fraction_numerical': 0.01822709691093096, 'mean_word_length': 1.5724410522011723, 'pattern_counts': {'":': 0, '<': 507, '<?xml version=': 0, '>': 507, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 21, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2823520', 'n_tokens_mistral': 5849, 'n_tokens_neox': 5245, 'n_words': 1108}