<commit_before>{% load i18n %}
<li id="js-settingsmenu-notifications" class="dropdown">
    <a href="#" class="dropdown-toggle dropdown-toggle-with-icon" data-toggle="dropdown">
        <i class="icon-bell-alt fa fa-bell nav-main-icon"
           data-bind="css: {'notifications-active-icon': hasUnread()}"></i>
    </a>
    <ul class="dropdown-menu notifications-dropdown dropdown-menu-right"
        role="menu">
        <li class="notifications-title dropdown-header nav-header">
            {% trans "Notifications" %}
        </li>
        <!-- ko foreach: notifications -->
        <li data-bind="css: {
                'notifications-alert': isAlert(),
                'notifications-info': isInfo(),
                'notifications-unread': !isRead()
            }">
            <a data-bind="attr: {href: url}, click: markAsRead" class="clearfix" target="_blank">
                <span class="notifications-icon">
                    <i class="notifications-type fa"
                       data-bind="css: {
                            'fa-exclamation-triangle icon-warning-sign': isAlert(),<commit_msg>adding analytics to hq notifications<commit_after>{% load i18n %}
{% block js-inline %}{{ block.super }}
    <script>
        $('#notification-link').click(function() {
            ga_track_event('Notification', 'Opened Message', this.href);
        });
        analytics.trackUsageLink($('#notification-icon'), 'Notification', 'Clicked Bell Icon')
    </script>
{% endblock %}
<li id="js-settingsmenu-notifications" class="dropdown">
    <a href="#" class="dropdown-toggle dropdown-toggle-with-icon" data-toggle="dropdown" id="notification-icon">
        <i class="icon-bell-alt fa fa-bell nav-main-icon"
           data-bind="css: {'notifications-active-icon': hasUnread()}"></i>
    </a>
    <ul class="dropdown-menu notifications-dropdown dropdown-menu-right"
        role="menu">
        <li class="notifications-title dropdown-header nav-header">
            {% trans "Notifications" %}
        </li>
        <!-- ko foreach: notifications -->
        <li data-bind="css: {
                'notifications-alert': isAlert(),
                'notifications-info': isInfo(),
                'notifications-unread': !isRead()
            }">
            <a data-bind="attr: {href: url}, click: markAsRead" class="clearfix" target="_blank" id="notification-link">
                <span class="notifications-icon">
                    <i class="notifications-type fa"
                       data-bind="css: {
                            'fa-exclamation-triangle icon-warning-sign': isAlert(),
{'fraction_non_alphanumeric': 0.16058394160583941, 'fraction_numerical': 0.001536688436419516, 'mean_word_length': 2.3214285714285716, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 29, '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': '6820187', 'n_tokens_mistral': 740, 'n_tokens_neox': 705, 'n_words': 141}