<commit_before>#{extends viewUtils.themeProperty('themeLayout') /}
#{set title: viewUtils.getKey('profile.title') + ': ' + userName /}

#{breadcrumbs /}

<h1 class="sep">&{'profile.title'}: <span>${user.fullname()}</span></h1>
<div class="row">
    <div class="g-4of12">
        <div class="info-box">
            <span class="label">&{'ui.label.username'}:</span><span class="text">${user.userName}</span>
            <span class="label">&{'ui.label.fullname'}:</span><span class="text">${user.fullname()}</span>
            <span class="label">&{'profile.activesince'}:</span><span class="text">${views.context.package.niceTime(user._id.getTime())}</span>
        </div>
    </div>
    <div class="g-6of12">
        <div class="info-box long">
            <span class="label">&{'thing.objectcount'}:</span><span class="text"><a href="/${user.userName}/object"> ${objects.length()}</a></span>
            <span class="label">&{'thing.collectionscount'}:</span><span class="text"><a href="/${user.userName}/collection">${collections.length()}</a></span>
            <span class="label">&{'thing.storycount'}:</span><span class="text"><a href="/${user.userName}/story">${stories.length()}</a></span>
        </div>
    </div>

</div><commit_msg>Fixes #231<commit_after>#{extends viewUtils.themeProperty('themeLayout') /}
#{set title: viewUtils.getKey('profile.title') + ': ' + userName /}

#{breadcrumbs /}

<h1 class="sep">&{'profile.title'}: <span>${user.fullname()}</span></h1>
<div class="row">
    <div class="g-4of12">
        <div class="info-box">
            <span class="label">&{'ui.label.username'}:</span><span class="text">${user.userName}</span>
            <span class="label">&{'ui.label.fullname'}:</span><span class="text">${user.fullname()}</span>
            <span class="label">&{'profile.activesince'}:</span><span class="text">${views.context.package.niceTime(user._id.getTime())}</span>
        </div>
    </div>
    <div class="g-6of12">
        <div class="info-box long">
            <span class="label">&{'thing.objectcount'}:</span><span class="text"><a href="/${user.userName}/object"> ${objects.length()}</a></span>
            <span class="label">&{'thing.collectioncount'}:</span><span class="text"><a href="/${user.userName}/collection">${collections.length()}</a></span>
            <span class="label">&{'thing.storycount'}:</span><span class="text"><a href="/${user.userName}/story">${stories.length()}</a></span>
        </div>
    </div>

</div>
{'fraction_non_alphanumeric': 0.2612721417069243, 'fraction_numerical': 0.007648953301127214, 'mean_word_length': 4.198744769874477, 'pattern_counts': {'":': 0, '<': 91, '<?xml version=': 0, '>': 91, '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': '897178', 'n_tokens_mistral': 818, 'n_tokens_neox': 809, 'n_words': 96}