<commit_before>
{% extends "dissemin/root_skeleton.html" %}

{% load static %}
{% load i18n %}
{% load socialaccount %}
{% load users %}

{% block opengraph %}
    <meta name="description" content="{% trans "Dissemin detects papers behind pay-walls and invites their authors to upload them in one click to an open repository." %}">
    <meta name="twitter:card" content="summary" />
    <meta name="twitter:creator" content="@disseminOA" />
    <meta property="og:type" content="website" />
    <meta property="og:title" content='{% block headTitle %}{% endblock %} - Dissemin' />
    <meta property="og:description" content="{% trans "Dissemin detects papers behind pay-walls and invites their authors to upload them in one click to an open repository." %}" />
    <meta property="og:url" content="{{ request.get_full_path }}" />
    <meta property="og:image" content="{% static "favicon/apple-icon-57x57.png" %}" />
{% endblock %}

{% block body %}
<div id="wrapper">
    <div id="header">
        <nav class="navbar navbar-default">
            <div class="container-fluid">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse" aria-expanded="false">
                        <span class="sr-only">{% trans "Toggle navigation" %}</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand" href="/">dissemin</a>
                </div>
                <div class="collapse navbar-collapse" id="navbar-collapse">
                    <ul class="nav navbar-nav navbar-right">
                        <li><a href="/">{% trans "Home" %}</a></li>
                    {% if request.user.is_authenticated %}
                    <li><a href="{% url 'my-profile' %}">{% trans "My profile" %}</a></li>
                    {% endif %}
                    <li><a href="{% url 'faq' %}">{% trans "FAQ" %}</a></li>
                    {% if request.user.is_authenticated %}
                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"
                                                                                                                            ><span class="glyphicon glyphicon-user"></span>&nbsp; {{ request.user|fullname }} <span class="caret"></span></a>
                            <ul class="dropdown-menu">
                                <li><a href="{% url "edit-global-preferences" %}">{% trans "Preferences" %}</a></li>
                                <li><a href="{% url "list_deposits" %}">{% trans "My deposits" %}</a></li>
                                <li><a href="#" onclick="
$.ajax({ url: 'https://{{ ORCID_BASE_DOMAIN }}/userStatus.json?logUserOut=true', dataType: 'jsonp',
        success: function(result,status,xhr) {
            window.location.href = '{% url "account_logout" %}';
        },
        error: function (xhr, status, error) {
            window.location.href = '{% url "account_logout" %}';
        }
        })">{% trans "Logout" %}</a></li>
                            </ul>
                        </li>
                    {% else %}
                    <li><a href="{% url "account_login" %}?next={{ request.get_full_path |urlencode}}" rel="nofollow">{% trans "Login" %}</a></li>
                    {% endif %}
                    </ul>
                </div>
            </div>
        </nav>
    </div>
    <div id="content">
        {% if breadcrumbs %}
            {% include "dissemin/breadcrumbs.html" %}
        {% endif %}
        {% block content %}
        {% endblock %}
    <div class="push"></div>
    </div>
</div>
<div id="footer" class="container">
    <div id="subfooter" class="row">
        <div class="col-xs-12 col-sm-4 col-md-3">
            <ul>
                <li><a href="{% url 'faq' %}">{% trans "FAQ" %}</a></li>
                <li><a href="https://dev.dissem.in/api.html">{% trans "API" %}</a></li>
                <li><a href="{% url 'tos' %}">{% trans "Terms of Service" %}</a></li>
            </ul>
        </div>
        <div class="col-xs-12 col-sm-4 col-md-3">
            <ul>
                <li><a href="http://association.dissem.in/">{% trans "Who are we?" %}</a></li>
                <li><a href="http://association.dissem.in/#dons">{% trans "Donate" %}</a></li>
                <li><a href="{% url 'partners' %}">{% trans "Partners" %}</a></li>
            </ul>
        </div>
        <div class="col-xs-12 col-sm-4 col-md-3">
            <ul>
                <li><a href="mailto:<EMAIL>"><EMAIL></a></li>
                <li><a href="https://twitter.com/disseminOA">@disseminOA</a></li>
                <li><a href="https://github.com/dissemin/dissemin">GitHub</a></li>
            </ul>
        </div>
        <div class="clearfix visible-xs"></div>
        <div class="col-xs-6 col-xs-offset-3 col-sm-4 col-sm-offset-4 col-md-3 col-md-offset-0" id="change-lang-form-div">
            {% get_current_language as LANGUAGE_CODE %}
            <form action="{% url 'set_language' %}" method="post" id="change-lang-form" class="form-inline">
                {% csrf_token %}
                <label for="set-language">{% trans "Change language" %} <i class=" glyphicon glyphicon-globe"></i></label>
                <select name="language" id="set-language" class="form-control" onchange="$('#change-lang-form').submit();">
                    {% get_available_languages as LANGUAGES %}
                    {% get_language_info_list for LANGUAGES as languages %}
                    {% for language in languages %}
                        <option value="{{ language.code }}"{% if language.code == LANGUAGE_CODE %}
                                selected="selected"{% endif %}>{{ language.name_local.title }}</option>
                    {% endfor %}
                </select>
                <noscript><input type="submit" class="btn btn-default" value="{% trans "Apply" %}"/></noscript>
            </form>
        </div>
    </div>
</div><commit_msg>Fix a missing nbsp with icon on mobile devices<commit_after>
{% extends "dissemin/root_skeleton.html" %}

{% load static %}
{% load i18n %}
{% load socialaccount %}
{% load users %}

{% block opengraph %}
    <meta name="description" content="{% trans "Dissemin detects papers behind pay-walls and invites their authors to upload them in one click to an open repository." %}">
    <meta name="twitter:card" content="summary" />
    <meta name="twitter:creator" content="@disseminOA" />
    <meta property="og:type" content="website" />
    <meta property="og:title" content='{% block headTitle %}{% endblock %} - Dissemin' />
    <meta property="og:description" content="{% trans "Dissemin detects papers behind pay-walls and invites their authors to upload them in one click to an open repository." %}" />
    <meta property="og:url" content="{{ request.get_full_path }}" />
    <meta property="og:image" content="{% static "favicon/apple-icon-57x57.png" %}" />
{% endblock %}

{% block body %}
<div id="wrapper">
    <div id="header">
        <nav class="navbar navbar-default">
            <div class="container-fluid">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse" aria-expanded="false">
                        <span class="sr-only">{% trans "Toggle navigation" %}</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand" href="/">dissemin</a>
                </div>
                <div class="collapse navbar-collapse" id="navbar-collapse">
                    <ul class="nav navbar-nav navbar-right">
                        <li><a href="/">{% trans "Home" %}</a></li>
                    {% if request.user.is_authenticated %}
                    <li><a href="{% url 'my-profile' %}">{% trans "My profile" %}</a></li>
                    {% endif %}
                    <li><a href="{% url 'faq' %}">{% trans "FAQ" %}</a></li>
                    {% if request.user.is_authenticated %}
                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"
                                                                                                                            ><span class="glyphicon glyphicon-user"></span>&nbsp; {{ request.user|fullname }} <span class="caret"></span></a>
                            <ul class="dropdown-menu">
                                <li><a href="{% url "edit-global-preferences" %}">{% trans "Preferences" %}</a></li>
                                <li><a href="{% url "list_deposits" %}">{% trans "My deposits" %}</a></li>
                                <li><a href="#" onclick="
$.ajax({ url: 'https://{{ ORCID_BASE_DOMAIN }}/userStatus.json?logUserOut=true', dataType: 'jsonp',
        success: function(result,status,xhr) {
            window.location.href = '{% url "account_logout" %}';
        },
        error: function (xhr, status, error) {
            window.location.href = '{% url "account_logout" %}';
        }
        })">{% trans "Logout" %}</a></li>
                            </ul>
                        </li>
                    {% else %}
                    <li><a href="{% url "account_login" %}?next={{ request.get_full_path |urlencode}}" rel="nofollow">{% trans "Login" %}</a></li>
                    {% endif %}
                    </ul>
                </div>
            </div>
        </nav>
    </div>
    <div id="content">
        {% if breadcrumbs %}
            {% include "dissemin/breadcrumbs.html" %}
        {% endif %}
        {% block content %}
        {% endblock %}
    <div class="push"></div>
    </div>
</div>
<div id="footer" class="container">
    <div id="subfooter" class="row">
        <div class="col-xs-12 col-sm-4 col-md-3">
            <ul>
                <li><a href="{% url 'faq' %}">{% trans "FAQ" %}</a></li>
                <li><a href="https://dev.dissem.in/api.html">{% trans "API" %}</a></li>
                <li><a href="{% url 'tos' %}">{% trans "Terms of Service" %}</a></li>
            </ul>
        </div>
        <div class="col-xs-12 col-sm-4 col-md-3">
            <ul>
                <li><a href="http://association.dissem.in/">{% trans "Who are we?" %}</a></li>
                <li><a href="http://association.dissem.in/#dons">{% trans "Donate" %}</a></li>
                <li><a href="{% url 'partners' %}">{% trans "Partners" %}</a></li>
            </ul>
        </div>
        <div class="col-xs-12 col-sm-4 col-md-3">
            <ul>
                <li><a href="mailto:<EMAIL>"><EMAIL></a></li>
                <li><a href="https://twitter.com/disseminOA">@disseminOA</a></li>
                <li><a href="https://github.com/dissemin/dissemin">GitHub</a></li>
            </ul>
        </div>
        <div class="clearfix visible-xs"></div>
        <div class="col-xs-6 col-xs-offset-3 col-sm-4 col-sm-offset-4 col-md-3 col-md-offset-0" id="change-lang-form-div">
            {% get_current_language as LANGUAGE_CODE %}
            <form action="{% url 'set_language' %}" method="post" id="change-lang-form" class="form-inline">
                {% csrf_token %}
                <label for="set-language">{% trans "Change language" %}&nbsp;<i class=" glyphicon glyphicon-globe"></i></label>
                <select name="language" id="set-language" class="form-control" onchange="$('#change-lang-form').submit();">
                    {% get_available_languages as LANGUAGES %}
                    {% get_language_info_list for LANGUAGES as languages %}
                    {% for language in languages %}
                        <option value="{{ language.code }}"{% if language.code == LANGUAGE_CODE %}
                                selected="selected"{% endif %}>{{ language.name_local.title }}</option>
                    {% endfor %}
                </select>
                <noscript><input type="submit" class="btn btn-default" value="{% trans "Apply" %}"/></noscript>
            </form>
        </div>
    </div>
</div>
{'fraction_non_alphanumeric': 0.18655649133958366, 'fraction_numerical': 0.003813761322103925, 'mean_word_length': 1.8095982142857143, 'pattern_counts': {'":': 0, '<': 297, '<?xml version=': 0, '>': 297, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5504054', 'n_tokens_mistral': 3934, 'n_tokens_neox': 3567, 'n_words': 791}