<commit_before>{% extends "base/base.html" %}

{% block content %}

    <h1 class="page-header">Hi {{ user.username|capfirst }}</h1>

    <div class="col-md-6 well well-lg">
        {% for message in server_messages %}
            <h2>{{ message.title }}</h2>
            {{ message.html_content|safe }}
        {% empty %}
            <p>
                Because there is no MOTD configured, let me sing this sweet song.
            </p>
            <p>
                Don't worry about a thing<br>
                'Cause every little thing gonna be alright<br>
                Singing' don't worry about a thing<br>
                'Cause every little thing gonna be alright<br>
            </p>
            <p>
                Rise up this mornin'<br>
                Smiled with the risin' sun<br>
                Three little birds<br>
                Pitch by my doorstep<br>
                Singin' sweet songs<br>
                Of melodies pure and true<br>
                Saying', (this is my message to you)<br>
            </p>
            <p>
                Singing' don't worry 'bout a thing<br>
                'Cause every little thing gonna be alright<br>
                Singing' don't worry (don't worry) 'bout a thing<br>
                <a href="https://www.youtube.com/watch?v=LanCLS_hIo4">'Cause every little thing gonna be alright</a>
            </p>
        {% endfor %}
    </div>

    <div class="col-md-6">
        <h2>Your characters</h2>
        <table class="table table-hover">
            <tbody>
                {% for character in user.character_set.all %}
                    <tr>
                        <td style="vertical-align: middle">
                            {{ character.name }}
                            {% if character.unread_messages.exists %}
                                <span class="badge">{{ character.unread_messages.count }}</span>
                            {% endif %}
                        </td>
                        <td style="vertical-align: middle">
                            {{ character.location }}
                        </td>
                        <td style="vertical-align: middle" class="text-right">
                            <a href="{{ character.activation_url }}" class="btn btn-primary">Enter</a>
                        </td>
                    </tr>
                {% empty %}
                    <tr><td colspan="100%">You don't have any... yet!</td></tr>
                {% endfor %}
            </tbody>

        </table>

        <p class="text-center">
            {% if can_create_character %}
                <a class="btn btn-primary"
                   href="{% url 'world:create_character' %}">
                    Create a new character
                </a>
            {% else %}<commit_msg>Improved account home<commit_after>{% extends "base/base.html" %}

{% block content %}

    <h1 class="page-header">Hi {{ user.username|capfirst }}</h1>

    <div class="col-md-6 well well-lg">
        {% for message in server_messages %}
            <h2>{{ message.title }}</h2>
            {{ message.html_content|safe }}
        {% empty %}
            <p>
                Because there is no MOTD configured, let me sing this sweet song.
            </p>
            <p>
                Don't worry about a thing<br>
                'Cause every little thing gonna be alright<br>
                Singing' don't worry about a thing<br>
                'Cause every little thing gonna be alright<br>
            </p>
            <p>
                Rise up this mornin'<br>
                Smiled with the risin' sun<br>
                Three little birds<br>
                Pitch by my doorstep<br>
                Singin' sweet songs<br>
                Of melodies pure and true<br>
                Saying', (this is my message to you)<br>
            </p>
            <p>
                Singing' don't worry 'bout a thing<br>
                'Cause every little thing gonna be alright<br>
                Singing' don't worry (don't worry) 'bout a thing<br>
                <a href="https://www.youtube.com/watch?v=LanCLS_hIo4">'Cause every little thing gonna be alright</a>
            </p>
        {% endfor %}
    </div>

    <div class="col-md-6">
        <h2>Your characters</h2>
        <table class="table table-hover">
            <tbody>
                {% for character in user.character_set.all %}
                    <tr>
                        <td style="vertical-align: middle">
                            {{ character.get_html_name|safe }}
                            {% if character.unread_messages.exists %}
                                <span class="badge">{{ character.unread_messages.count }}</span>
                            {% endif %}
                        </td>
                        <td style="vertical-align: middle">
                            {{ character.location }}
                        </td>
                        <td style="vertical-align: middle" class="text-right">
                            <a href="{{ character.activation_url }}" class="btn btn-primary">Enter</a>
                        </td>
                    </tr>
                {% empty %}
                    <tr><td colspan="100%">You don't have any... yet!</td></tr>
                {% endfor %}
            </tbody>

        </table>

        <p class="text-center">
            {% if can_create_character %}
                <a class="btn btn-primary"
                   href="{% url 'world:create_character' %}">
                    Create a new character
                </a>
            {% else %}
{'fraction_non_alphanumeric': 0.12100213219616204, 'fraction_numerical': 0.0042643923240938165, 'mean_word_length': 1.194541910331384, 'pattern_counts': {'":': 0, '<': 115, '<?xml version=': 0, '>': 115, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, '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': '6627538', 'n_tokens_mistral': 1589, 'n_tokens_neox': 1415, 'n_words': 402}