<commit_before><!-- CSS -->
<link rel="stylesheet" type="text/css" href="/devwidgets/recentmessages/css/recentmessages.css" />

<!-- ERRORS -->
<div id="recentmessages_error" style="display:none;">
    <div id="recentmessages_error_nomessages" class="recentmessages_error">__MSG__NO_MESSAGES_AVAILABLE__</div>
    <div id="recentmessages_error_notconnected" class="recentmessages_error">__MSG__NOT_CONNECTED__</div>
</div>

<!-- CONTENT -->
<div class="recentmessages_widget">

    <div class="fl-widget-content" id="recentmessages_container">
    </div>
    <div id="recentmessages_template"><!--
        <ul>
            {for message in results}
                <li {if message_index % 2} class="recentmessages_alterrow"{/if}>
                    <span {if message["sakai:read"]==="false"} class="recentmessages_notread" {/if} title="${message.userFrom[0].firstName} ${message.userFrom[0].lastName}">${message.userFrom[0].firstName} {if message.userFrom.length > 1} and others...{/if}:</span>
                    
                    <a href="inbox.html?message=${message.id}">
                        <span class="ellipsis_text" title="${message["sakai:subject"]}">
                            ${message["sakai:subject"]}
                        </span>
                    </a>
                </li>
            {/for}
        </ul>
    --></div><commit_msg>NOJIRA: changing recent messages widget to use display name for messages<commit_after><!-- CSS -->
<link rel="stylesheet" type="text/css" href="/devwidgets/recentmessages/css/recentmessages.css" />

<!-- ERRORS -->
<div id="recentmessages_error" style="display:none;">
    <div id="recentmessages_error_nomessages" class="recentmessages_error">__MSG__NO_MESSAGES_AVAILABLE__</div>
    <div id="recentmessages_error_notconnected" class="recentmessages_error">__MSG__NOT_CONNECTED__</div>
</div>

<!-- CONTENT -->
<div class="recentmessages_widget">

    <div class="fl-widget-content" id="recentmessages_container">
    </div>
    <div id="recentmessages_template"><!--
        <ul>
            {for message in results}
                <li {if message_index % 2} class="recentmessages_alterrow"{/if}>
                    <span {if message["sakai:read"]==="false"} class="recentmessages_notread" {/if} title="${sakai.api.User.getDisplayName(message.userFrom[0])}">${sakai.api.User.getDisplayName(message.userFrom[0])} {if message.userFrom.length > 1} and others...{/if}:</span>
                    
                    <a href="inbox.html?message=${message.id}">
                        <span class="ellipsis_text" title="${message["sakai:subject"]}">
                            ${message["sakai:subject"]}
                        </span>
                    </a>
                </li>
            {/for}
        </ul>
    --></div>
{'fraction_non_alphanumeric': 0.16899391335481562, 'fraction_numerical': 0.00322234156820623, 'mean_word_length': 2.6666666666666665, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 57, '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': '5002758', 'n_tokens_mistral': 873, 'n_tokens_neox': 820, 'n_words': 128}