<commit_before>{% extends "site_base.html" %}

{% load i18n %}
{% load uni_form_tags %}
{% load account_tags %}

{% block head_title %}{% user_display other_user as other_user_display %}{% blocktrans %}Profile for {{ other_user_display }}{% endblocktrans %}{% endblock %}

{% block body %}
    {% user_display other_user as other_user_display %}
    
    <div class="vcard">
        {% if other_user.get_profile.name %}
            <h1>{% blocktrans %}Profile for <span class="nickname">{{ other_user_display }}</span>{% endblocktrans %}</h1>
        {% else %}
            <h1>{% blocktrans %}Profile for <span class="fn nickname">{{ other_user_display }}</span>{% endblocktrans %}</h1>
        {% endif %}
        
        <div class="profile_info">
            {% if other_user.get_full_name %}
                <p><b>{% trans "Name" %}</b>: <span class="fn">{{ other_user.get_full_name }}</span></p>
            {% endif %}
            <p><b>{% trans "Github account" %}</b>:
                    {% if other_user.get_profile.github_url %}
                        <span class="fn"><a href="http://github.com/{{ other_user.get_profile.github_url }}">{{ other_user.get_profile.github_url }}</a></span>
                    {% endif %}
            </p>
            <p><b>{% trans "BitBucket account" %}</b>: 
                    {% if other_user.get_profile.bitbucket_url %}
                        <span class="fn"><a href="http://bitbucket.com/{{ other_user.get_profile.bitbucket_url }}">{{ other_user.get_profile.bitbucket_url }}</a></span>
                    {% endif %}</p>
            <p><b>{% trans "Google Code account" %}</b>:
                    {% if other_user.get_profile.google_code_url %}
                        <span class="fn"><a href="http://code.google.com/u/{{ other_user.get_profile.google_code_url|urlize }}/">{{ other_user.get_profile.google_code_url|urlize }}</a></span>
                    {% endif %}</p>
        </div>
                
        {% if is_me %}
            <p><a href="{% url profile_edit %}" rel="facebox">Edit profile</a></p>
        {% endif %}
        
    </div>
{% endblock %}

<commit_msg>Correct bitbucket url<commit_after>{% extends "site_base.html" %}

{% load i18n %}
{% load uni_form_tags %}
{% load account_tags %}

{% block head_title %}{% user_display other_user as other_user_display %}{% blocktrans %}Profile for {{ other_user_display }}{% endblocktrans %}{% endblock %}

{% block body %}
    {% user_display other_user as other_user_display %}
    
    <div class="vcard">
        {% if other_user.get_profile.name %}
            <h1>{% blocktrans %}Profile for <span class="nickname">{{ other_user_display }}</span>{% endblocktrans %}</h1>
        {% else %}
            <h1>{% blocktrans %}Profile for <span class="fn nickname">{{ other_user_display }}</span>{% endblocktrans %}</h1>
        {% endif %}
        
        <div class="profile_info">
            {% if other_user.get_full_name %}
                <p><b>{% trans "Name" %}</b>: <span class="fn">{{ other_user.get_full_name }}</span></p>
            {% endif %}
            <p><b>{% trans "Github account" %}</b>:
                    {% if other_user.get_profile.github_url %}
                        <span class="fn"><a href="http://github.com/{{ other_user.get_profile.github_url }}">{{ other_user.get_profile.github_url }}</a></span>
                    {% endif %}
            </p>
            <p><b>{% trans "BitBucket account" %}</b>: 
                    {% if other_user.get_profile.bitbucket_url %}
                        <span class="fn"><a href="http://bitbucket.org/{{ other_user.get_profile.bitbucket_url }}">{{ other_user.get_profile.bitbucket_url }}</a></span>
                    {% endif %}</p>
            <p><b>{% trans "Google Code account" %}</b>:
                    {% if other_user.get_profile.google_code_url %}
                        <span class="fn"><a href="http://code.google.com/u/{{ other_user.get_profile.google_code_url|urlize }}/">{{ other_user.get_profile.google_code_url|urlize }}</a></span>
                    {% endif %}</p>
        </div>
                
        {% if is_me %}
            <p><a href="{% url profile_edit %}" rel="facebox">Edit profile</a></p>
        {% endif %}
        
    </div>
{% endblock %}


{'fraction_non_alphanumeric': 0.1821578701541336, 'fraction_numerical': 0.0028024287716020553, 'mean_word_length': 2.222723852520692, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 0, '>': 95, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '3489777', 'n_tokens_mistral': 1429, 'n_tokens_neox': 1298, 'n_words': 252}