<commit_before>{% load bb_ember %}
{% load i18n %}
{% load static %}

{% tplhandlebars "project_supporter" %}

    {{#if supporter.member}}
        <a class="member" {{action 'openInBigBox' 'userModal' supporter.member }} {{bindAttr data-title="supporter.member.full_name" data-content="supporter.time_since"}}>
            <span class="member-avatar"><img {{bindAttr src="supporter.member.avatar" alt="supporter.member.full_name"}} /></span>
        </a>
    {{else}}
        <a class="member" data-title="guest" {{bindAttr data-content="supporter.time_since"}}>
            <span class="member-avatar"><img src="/static/assets/images/default-avatar.png"  alt="{% trans 'Guest' %}" /></span>
        </a>
    {{/if}}

{% endtplhandlebars %}<commit_msg>Show default avatar in supporters if none<commit_after>{% load bb_ember %}
{% load i18n %}
{% load static %}

{% tplhandlebars "project_supporter" %}

    {{#if supporter.member}}
        <a class="member" {{action 'openInBigBox' 'userModal' supporter.member }} {{bindAttr data-title="supporter.member.full_name" data-content="supporter.time_since"}}>
            <span class="member-avatar"><img {{bindAttr src="supporter.member.getAvatar" alt="supporter.member.full_name"}} /></span>
        </a>
    {{else}}
        <a class="member" data-title="guest" {{bindAttr data-content="supporter.time_since"}}>
            <span class="member-avatar"><img src="/static/assets/images/default-avatar.png"  alt="{% trans 'Guest' %}" /></span>
        </a>
    {{/if}}

{% endtplhandlebars %}
{'fraction_non_alphanumeric': 0.19388418998048146, 'fraction_numerical': 0.002602472348731295, 'mean_word_length': 3.8825396825396825, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '7483129', 'n_tokens_mistral': 529, 'n_tokens_neox': 493, 'n_words': 92}