<commit_before>{% load i18n %}
{% load bootstrap_tags %}
{% load staticfiles %}
{% load thumbnail %}

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="https://www.w3.org/1999/xhtml" lang="en">
<head>
<title>{% trans "Thank you for your request to join this project" %}</title>

	<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:400,700" media="all">
    <link rel="stylesheet" href="{% static 'css/coop.css' %}">

    {% if project.custom_css %}
        <style>
            {{ project.custom_css }}
        </style>
    {% endif %}

</head>
<body style="background-image: url({% if project.background_url %}{% static project.background_url %}{% else %}{% static 'img/photo-OCP-1600x900_green.jpg' %}{% endif %}); text-align:center;">
<div style="font-weight:bold; position:absolute; left:13px; top:9px;">
  <a href="{% url 'project_login' form_slug=project.fobi_slug %}" style="color:#734279;">{% trans "Login" %} {{ project.agent.name }}</a>
</div>
<div class="container">
    {% include "_messages.html" %}
    <p>&nbsp;</p>
    {% if existuser or existemail %}
        <!-- {% if existuser and not existemail %}
            <h2>
                {% trans "The username is already in the system." %}
            </h2>
            <p style="text-align:center; font-size:120%; ">
                {% blocktrans %} If you are <b>{{ existuser }}</b>, put your existent password to connect this request to your account.
                {% endblocktrans %}
            </p>
            {% if login_form %}
                {% csrf_token %}
                {{ login_form }}
                <button type="submit" class="btn btn-primary">{% trans "Log in" %}</button>
            {% endif %}
        {% elif existuser and existemail %}
            user: {{ existuser }} email: {{ existemail }}
        {% elif existemail and not existuser %}
            email: {{ existemail }}
        {% endif %} -->

    {% else %}
    <h2>
        {% trans "Thank you for your request to join" %}<br />
        {% if project.agent.photo or project.agent.photo_url %}
            <br />
            <a href="{{ agent.url }}">
              {% if project.agent.photo %}
                <img src="{% thumbnail project.agent.photo 400x400 %}" title="{{ project.agent.name }}" />
              {% elif project.agent.photo_url %}
                <img src="{{ project.agent.photo_url }}" width="400" />
              {% endif %}
            </a>
        {% else %}
            <br /><span style="font-size:180%">{% if project.agent.url %}<a href="{{ project.agent.url }}" target="_blank">{{ project.agent.name }}</a>{% else %}{{ project.agent.name }}{% endif %}</span>
        {% endif %}
    </h2>
    <div class="row-fluid">
        {% if not jn_req.payment_url %}<p style="text-align:center">{% trans "A project coordinator will send you an email soon with your OCP login credentials." %}</p>{% endif %}
        <p> &nbsp; </p>
        {% if project.payment_options and jn_req.pending_shares %}<commit_msg>better text in thanks page<commit_after>{% load i18n %}
{% load bootstrap_tags %}
{% load staticfiles %}
{% load thumbnail %}

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="https://www.w3.org/1999/xhtml" lang="en">
<head>
<title>{% trans "Thank you for your request to join this project" %}</title>

	<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:400,700" media="all">
    <link rel="stylesheet" href="{% static 'css/coop.css' %}">

    {% if project.custom_css %}
        <style>
            {{ project.custom_css }}
        </style>
    {% endif %}

</head>
<body style="background-image: url({% if project.background_url %}{% static project.background_url %}{% else %}{% static 'img/photo-OCP-1600x900_green.jpg' %}{% endif %}); text-align:center;">
<div style="font-weight:bold; position:absolute; left:13px; top:9px;">
  <a href="{% url 'project_login' form_slug=project.fobi_slug %}" style="color:#734279;">{% trans "Login to" %} {{ project.agent.name }}</a>
</div>
<div class="container">
    {% include "_messages.html" %}
    <p>&nbsp;</p>
    {% if existuser or existemail %}
        <!-- {% if existuser and not existemail %}
            <h2>
                {% trans "The username is already in the system." %}
            </h2>
            <p style="text-align:center; font-size:120%; ">
                {% blocktrans %} If you are <b>{{ existuser }}</b>, put your existent password to connect this request to your account.
                {% endblocktrans %}
            </p>
            {% if login_form %}
                {% csrf_token %}
                {{ login_form }}
                <button type="submit" class="btn btn-primary">{% trans "Log in" %}</button>
            {% endif %}
        {% elif existuser and existemail %}
            user: {{ existuser }} email: {{ existemail }}
        {% elif existemail and not existuser %}
            email: {{ existemail }}
        {% endif %} -->

    {% else %}
    <h2>
        {% trans "Thank you for your request to join" %}<br />
        {% if project.agent.photo or project.agent.photo_url %}
            <br />
            <a href="{{ agent.url }}">
              {% if project.agent.photo %}
                <img src="{% thumbnail project.agent.photo 400x400 %}" title="{{ project.agent.name }}" />
              {% elif project.agent.photo_url %}
                <img src="{{ project.agent.photo_url }}" width="400" />
              {% endif %}
            </a>
        {% else %}
            <br /><span style="font-size:180%">{% if project.agent.url %}<a href="{{ project.agent.url }}" target="_blank">{{ project.agent.name }}</a>{% else %}{{ project.agent.name }}{% endif %}</span>
        {% endif %}
    </h2>
    <div class="row-fluid">
        {% if not jn_req.payment_url %}<p style="text-align:center">{% trans "You will receive an initial password in your email, to log in the system and confirm the email address. Please change your password the first time you enter the system to ensure total security." %}</p>{% endif %}
        <p> &nbsp; </p>
        {% if project.payment_options and jn_req.pending_shares %}
{'fraction_non_alphanumeric': 0.18141382049245433, 'fraction_numerical': 0.01715647339158062, 'mean_word_length': 2.4161692892023874, 'pattern_counts': {'":': 0, '<': 93, '<?xml version=': 0, '>': 93, 'https://': 6, 'lorem ipsum': 0, 'www.': 4, 'xml': 2}, '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': '3008105', 'n_tokens_mistral': 2139, 'n_tokens_neox': 1868, 'n_words': 501}