<commit_before>%tr{ "ng-repeat" => "user in users | orderBy:sort | filter:filterTerm" }
  %td
    %img{ "ng-src" => "{{user.avatar}}", height: "32px", width: "32px" }
  %td {{user.member_id}}
  %td
    %span.glyphicon.glyphicon-time{ "ng-if" => "!user.active" }
    %a{ "ng-href" => "{{user.url}}" }
      {{user.username}}
  %td 
    %a{ "ng-href" => "mailto:{{user.email}}", ng_if: "!user.unconfirmed_email"}
      {{user.email}}
    %a{ng_href: "mailto:{{user.unconfirmed_email}}", ng_if: "user.unconfirmed_email", style: "color: orange"}
      {{user.unconfirmed_email}}
  %td {{user.phone}}
  %td {{user.alt_phone}}
  %td {{user.balance | timeBalance}}
  %td.hover-actions
    %a.action{ "ng-if" => "user.edit_link", "ng-href" => "{{user.edit_link}}"}
      %span.glyphicon.glyphicon-pencil
      = t "global.edit"

    %a.action{ "ng-if" => "user.cancel_link && !user.active", "ng-href" => "{{user.cancel_link}}", :data => {:method => :delete, :confirm => t('.cancel_warning', :user => "{{user.username}}")}}
      %span.glyphicon.glyphicon-ban-circle
      = t "global.cancel_membership"

    %a.action{ href: "", "ng-if" => "user.toggle_manager_link && user.active", "ng-click" => "toggle_manager(user)"}
      %span{ "ng-if" => "user.manager" }
        .glyphicon.glyphicon-arrow-down
        = t "global.demote"
      %span{ "ng-if" => "!user.manager" }
        .glyphicon.glyphicon-arrow-up
        = t "global.promote"

    %a.action{  href: "", "ng-if" => "user.toggle_active_link", "ng-click" => "toggle_active(user)"}
      %span{ "ng-if" => "user.active" }
        .glyphicon.glyphicon-remove
        = t ".deactivate"
      %span{ "ng-if" => "!user.active" }
        .glyphicon.glyphicon-ok
        = t ".activate"
<commit_msg>not highlight unconfirmed emails<commit_after>%tr{ "ng-repeat" => "user in users | orderBy:sort | filter:filterTerm" }
  %td
    %img{ "ng-src" => "{{user.avatar}}", height: "32px", width: "32px" }
  %td {{user.member_id}}
  %td
    %span.glyphicon.glyphicon-time{ "ng-if" => "!user.active" }
    %a{ "ng-href" => "{{user.url}}" }
      {{user.username}}
  %td
    %a{ "ng-href" => "mailto:{{user.email}}", ng_if: "!user.unconfirmed_email"}
      {{user.email}}
    %a{ng_href: "mailto:{{user.unconfirmed_email}}", ng_if: "user.unconfirmed_email"}
      {{user.unconfirmed_email}}
  %td {{user.phone}}
  %td {{user.alt_phone}}
  %td {{user.balance | timeBalance}}
  %td.hover-actions
    %a.action{ "ng-if" => "user.edit_link", "ng-href" => "{{user.edit_link}}"}
      %span.glyphicon.glyphicon-pencil
      = t "global.edit"

    %a.action{ "ng-if" => "user.cancel_link && !user.active", "ng-href" => "{{user.cancel_link}}", :data => {:method => :delete, :confirm => t('.cancel_warning', :user => "{{user.username}}")}}
      %span.glyphicon.glyphicon-ban-circle
      = t "global.cancel_membership"

    %a.action{ href: "", "ng-if" => "user.toggle_manager_link && user.active", "ng-click" => "toggle_manager(user)"}
      %span{ "ng-if" => "user.manager" }
        .glyphicon.glyphicon-arrow-down
        = t "global.demote"
      %span{ "ng-if" => "!user.manager" }
        .glyphicon.glyphicon-arrow-up
        = t "global.promote"

    %a.action{  href: "", "ng-if" => "user.toggle_active_link", "ng-click" => "toggle_active(user)"}
      %span{ "ng-if" => "user.active" }
        .glyphicon.glyphicon-remove
        = t ".deactivate"
      %span{ "ng-if" => "!user.active" }
        .glyphicon.glyphicon-ok
        = t ".activate"

{'fraction_non_alphanumeric': 0.22372199885123492, 'fraction_numerical': 0.0022975301550832855, 'mean_word_length': 3.156324582338902, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 45, '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': '7571596', 'n_tokens_mistral': 1360, 'n_tokens_neox': 1313, 'n_words': 218}