<commit_before><dashboard-widget widget-name="'My cases'" widget-class="'col-md-12'" widget-scrollable="true" widget-closeable="true" widget-dynamic-height="true">
    <widget-header>
        <div class="widget-name">
            <i class="lilicon hl-case-icon"></i>
            My cases
            <span class="label-amount">{{ vm.numOfCases }}</span><span class="label-amount high-prio" ng-if="vm.highPrioCases" uib-tooltip="Critical priority">{{ vm.highPrioCases }}</span>
        </div>
    </widget-header>

    <widget-filters>
        <due-date-filter filter-store="vm.table.dueDateFilter" type="'case'"></due-date-filter>
        <users-filter users-store="vm.table.usersFilter" storage-name="'caseUsersFilter'"></users-filter>
    </widget-filters>

    <widget-body>
        <table id="myCasesBlockTarget" class="widget-table">
            <thead>
                <tr>
                    <th>Nr.</th>
                    <th>Subject</th>
                    <th>Client</th>
                    <th>Type</th>
                    <th>Status</th>
                    <th class="align-center">Prio</th>
                    <th>Expires</th>
                </tr>
            </thead>
            <tbody ng-repeat="(key, cases) in vm.table.items">
                <tr class="widget-table-sub-heading" ng-show="cases.length && key.length">
                    <td colspan="7" class="text-capitalize">{{ key }}</td>
                </tr>
                <tr ng-repeat="myCase in cases">
                    <td class="widget-table" style="width: 30px;">
                        <a ui-sref="base.cases.detail({ id: myCase.id })">
                            {{ myCase.id }}
                        </a>
                    </td>
                    <td>
                        <a ui-sref="base.cases.detail({ id: myCase.id })">
                            {{ myCase.subject }}
                        </a>
                    </td>
                    <td>
                        <a ui-sref="base.contacts.detail({ id: myCase.contact })" ng-if="myCase.contact">
                            {{ myCase.contact_name }}
                        </a>
                        <span ng-if="myCase.contact && myCase.account"> at </span>
                        <a ui-sref="base.accounts.detail({ id: myCase.account })" ng-if="myCase.account">
                            {{ myCase.account_name }}
                        </a>
                    </td>
                    <td>
                        {{ myCase.casetype_name }}
                    </td>
                    <td>
                        {{ myCase.status }}
                    </td>
                    <td class="widget-table-priority-cell" style="width: 30px;">
                        <i class="lilicon" tooltip-placement="left" uib-tooltip="{{ myCase.priority_name }} priority" ng-class="{0: 'hl-low-prio-icon', 1: 'hl-normal-prio-icon', 2: 'hl-high-prio-icon', 3: 'hl-critical-prio-icon'}[myCase.priority]"></i>
                    </td>
                    <td style="width: 130px; min-width: 130px;">
                        <span>
                            <postpone type="'Case'" object="myCase" date-field="'expires'" callback="vm.getMyCases()" display-date="false" ng-click="ga('send', 'event', 'accounts', 'create', 'topnav');"></postpone>
                        </span>
                        <span><date date="myCase.expires"></date></span>
                    </td>
                </tr>
            </tbody>
            <tbody>
                <tr ng-show="vm.numOfCases == 0">
                    <td colspan="7">No cases</td>
                </tr>
            </tbody>
        </table>
    </widget-body>
</dashboard-widget>
<commit_msg>Removed obsolete GA event click after merge.<commit_after><dashboard-widget widget-name="'My cases'" widget-class="'col-md-12'" widget-scrollable="true" widget-closeable="true" widget-dynamic-height="true">
    <widget-header>
        <div class="widget-name">
            <i class="lilicon hl-case-icon"></i>
            My cases
            <span class="label-amount">{{ vm.numOfCases }}</span><span class="label-amount high-prio" ng-if="vm.highPrioCases" uib-tooltip="Critical priority">{{ vm.highPrioCases }}</span>
        </div>
    </widget-header>

    <widget-filters>
        <due-date-filter filter-store="vm.table.dueDateFilter" type="'case'"></due-date-filter>
        <users-filter users-store="vm.table.usersFilter" storage-name="'caseUsersFilter'"></users-filter>
    </widget-filters>

    <widget-body>
        <table id="myCasesBlockTarget" class="widget-table">
            <thead>
                <tr>
                    <th>Nr.</th>
                    <th>Subject</th>
                    <th>Client</th>
                    <th>Type</th>
                    <th>Status</th>
                    <th class="align-center">Prio</th>
                    <th>Expires</th>
                </tr>
            </thead>
            <tbody ng-repeat="(key, cases) in vm.table.items">
                <tr class="widget-table-sub-heading" ng-show="cases.length && key.length">
                    <td colspan="7" class="text-capitalize">{{ key }}</td>
                </tr>
                <tr ng-repeat="myCase in cases">
                    <td class="widget-table" style="width: 30px;">
                        <a ui-sref="base.cases.detail({ id: myCase.id })">
                            {{ myCase.id }}
                        </a>
                    </td>
                    <td>
                        <a ui-sref="base.cases.detail({ id: myCase.id })">
                            {{ myCase.subject }}
                        </a>
                    </td>
                    <td>
                        <a ui-sref="base.contacts.detail({ id: myCase.contact })" ng-if="myCase.contact">
                            {{ myCase.contact_name }}
                        </a>
                        <span ng-if="myCase.contact && myCase.account"> at </span>
                        <a ui-sref="base.accounts.detail({ id: myCase.account })" ng-if="myCase.account">
                            {{ myCase.account_name }}
                        </a>
                    </td>
                    <td>
                        {{ myCase.casetype_name }}
                    </td>
                    <td>
                        {{ myCase.status }}
                    </td>
                    <td class="widget-table-priority-cell" style="width: 30px;">
                        <i class="lilicon" tooltip-placement="left" uib-tooltip="{{ myCase.priority_name }} priority" ng-class="{0: 'hl-low-prio-icon', 1: 'hl-normal-prio-icon', 2: 'hl-high-prio-icon', 3: 'hl-critical-prio-icon'}[myCase.priority]"></i>
                    </td>
                    <td style="width: 130px; min-width: 130px;">
                        <span>
                            <postpone type="'Case'" object="myCase" date-field="'expires'" callback="vm.getMyCases()" display-date="false"></postpone>
                        </span>
                        <span><date date="myCase.expires"></date></span>
                    </td>
                </tr>
            </tbody>
            <tbody>
                <tr ng-show="vm.numOfCases == 0">
                    <td colspan="7">No cases</td>
                </tr>
            </tbody>
        </table>
    </widget-body>
</dashboard-widget>

{'fraction_non_alphanumeric': 0.16169523552436227, 'fraction_numerical': 0.005128897287083277, 'mean_word_length': 1.2898640296662547, 'pattern_counts': {'":': 0, '<': 179, '<?xml version=': 0, '>': 179, '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': '3946032', 'n_tokens_mistral': 2200, 'n_tokens_neox': 2032, 'n_words': 343}