<commit_before><div class="ui vertical compact basic buttons">
  {{#ui-popup tagName='a' click=(action moveToUserDetails record.id) content=(t 'View') class='ui icon button'}}
    <i class="unhide icon"></i>
  {{/ui-popup}}
  {{#unless record.isSuperAdmin}}
    {{#ui-popup content=(t 'Edit') click=(action openEditModal record) class='ui icon button'}}
      <i class="edit icon"></i>
    {{/ui-popup}}
    {{#if (and hasRestorePrivileges record.deletedAt)}}
      {{#ui-popup content=(t 'Restore') click=(action restoreUser record) class='ui icon button' position='left center'}}<commit_msg>Remove the edit button if the user is deleted (#2583)<commit_after><div class="ui vertical compact basic buttons">
  {{#ui-popup tagName='a' click=(action moveToUserDetails record.id) content=(t 'View') class='ui icon button'}}
    <i class="unhide icon"></i>
  {{/ui-popup}}
  {{#unless record.isSuperAdmin}}
    {{#if (not record.deletedAt)}}
      {{#ui-popup content=(t 'Edit') click=(action openEditModal record) class='ui icon button'}}
        <i class="edit icon"></i>
      {{/ui-popup}}
    {{/if}}
    {{#if (and hasRestorePrivileges record.deletedAt)}}
      {{#ui-popup content=(t 'Restore') click=(action restoreUser record) class='ui icon button' position='left center'}}
{'fraction_non_alphanumeric': 0.181391712275215, 'fraction_numerical': 0.003127443315089914, 'mean_word_length': 4.818181818181818, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '4670300', 'n_tokens_mistral': 400, 'n_tokens_neox': 396, 'n_words': 112}