<commit_before>@(person: Person)(text: Html)

@main(person.getDisplayName) {
    <h1 class="uk-heading-primary">
        @person.getDisplayName
        <a class="uk-icon-link" data-uk-icon="icon: pencil; ratio: 2" href="@people.routes.EditPerson.get(person.getId)"></a>
    </h1>
    <hr>
    <div class="person-panel uk-flex">
        <div class="uk-margin-right">
        @if(person.getPhoto == null) {
            <span class="uk-icon" data-uk-icon="icon: user; ratio: 10"></span>
        } else {
            <img class="person-photo" src="@routes.File.get(person.getPhoto.getId)">
        }
        </div>
        <div class="uk-margin-left">
            <dl class="uk-description-list">
                @if(person.getFirstName) {
                    <dt>First name</dt>
                    <dd>@person.getFirstName</dd>
                }
                @if(person.getMiddleName) {
                    <dt>Middle name</dt>
                    <dd>@person.getMiddleName</dd>
                }
                @if(person.getLastName) {
                    <dt>Last name</dt>
                    <dd>@person.getLastName</dd>
                }
            </dl>
        </div>
    </div>
    <ul class="uk-tab">
        <li><a href="@people.routes.Person.getInfo(person.getId)">Info</a></li>
        <li><a href="@people.routes.Person.getAccounts(person.getId)">Accounts</a></li>
        <li><a href="@people.routes.Person.getFriends(person.getId)">Friends</a></li>
        <li><a href="@people.routes.Person.getFriendOf(person.getId)">Friend of</a></li>
        <li><a href="@people.routes.Person.getFiles(person.getId)">Files</a></li>
        <li><a href="@people.routes.Person.getGroups(person.getId)">Groups</a></li>
        <li><a href="@people.routes.Person.getConversations(person.getId)">Conversations</a></li>
        <li><a href="@people.routes.Person.getActivity(person.getId)">Activity</a></li>
    </ul>
    <div>
    @text
    </div>
}<commit_msg>Hide empty activity tab<commit_after>@(person: Person)(text: Html)

@main(person.getDisplayName) {
    <h1 class="uk-heading-primary">
        @person.getDisplayName
        <a class="uk-icon-link" data-uk-icon="icon: pencil; ratio: 2" href="@people.routes.EditPerson.get(person.getId)"></a>
    </h1>
    <hr>
    <div class="person-panel uk-flex">
        <div class="uk-margin-right">
        @if(person.getPhoto == null) {
            <span class="uk-icon" data-uk-icon="icon: user; ratio: 10"></span>
        } else {
            <img class="person-photo" src="@routes.File.get(person.getPhoto.getId)">
        }
        </div>
        <div class="uk-margin-left">
            <dl class="uk-description-list">
                @if(person.getFirstName) {
                    <dt>First name</dt>
                    <dd>@person.getFirstName</dd>
                }
                @if(person.getMiddleName) {
                    <dt>Middle name</dt>
                    <dd>@person.getMiddleName</dd>
                }
                @if(person.getLastName) {
                    <dt>Last name</dt>
                    <dd>@person.getLastName</dd>
                }
            </dl>
        </div>
    </div>
    <ul class="uk-tab">
        <li><a href="@people.routes.Person.getInfo(person.getId)">Info</a></li>
        <li><a href="@people.routes.Person.getAccounts(person.getId)">Accounts</a></li>
        <li><a href="@people.routes.Person.getFriends(person.getId)">Friends</a></li>
        <li><a href="@people.routes.Person.getFriendOf(person.getId)">Friend of</a></li>
        <li><a href="@people.routes.Person.getFiles(person.getId)">Files</a></li>
        <li><a href="@people.routes.Person.getGroups(person.getId)">Groups</a></li>
        <li><a href="@people.routes.Person.getConversations(person.getId)">Conversations</a></li>
        @* <li><a href="@people.routes.Person.getActivity(person.getId)">Activity</a></li> *@
    </ul>
    <div>
    @text
    </div>
}
{'fraction_non_alphanumeric': 0.1887366818873668, 'fraction_numerical': 0.0025367833587011668, 'mean_word_length': 2.124405705229794, 'pattern_counts': {'":': 0, '<': 131, '<?xml version=': 0, '>': 131, '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': '3007434', 'n_tokens_mistral': 1320, 'n_tokens_neox': 1290, 'n_words': 155}